Set image path in singleton
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
245b0b0f8f
commit
a18691c09f
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@ class SettingsServiceProvider extends ServiceProvider
|
|||
return 'assets/';
|
||||
});
|
||||
|
||||
\App::singleton('audits_upload_path', function () {
|
||||
return 'audits/';
|
||||
});
|
||||
|
||||
\App::singleton('accessories_upload_path', function () {
|
||||
return 'public/uploads/accessories/';
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue