Skip to content

Commit a18691c

Browse files
committed
Set image path in singleton
Signed-off-by: snipe <[email protected]>
1 parent 245b0b0 commit a18691c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/Providers/SettingsServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function boot()
6565
return 'assets/';
6666
});
6767

68+
\App::singleton('audits_upload_path', function () {
69+
return 'audits/';
70+
});
71+
6872
\App::singleton('accessories_upload_path', function () {
6973
return 'public/uploads/accessories/';
7074
});

0 commit comments

Comments
 (0)