Skip to content

Commit

Permalink
use env instead of config helper inside other config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Feb 7, 2022
1 parent 5c4f861 commit ee9982d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ SRC_PATH=app

ROOT_NAMESPACE=App\
USER_NAMESPACE=App\Containers\AppSection\User\Models\
ADMIN_ROLE=admin

DB_CONNECTION=mysql
QUEUE_CONNECTION=sync
Expand Down
2 changes: 1 addition & 1 deletion app/Ship/Configs/apiato.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
|
*/
'allow-roles-to-access-all-routes' => [
// config('appSection-authorization.admin_role'),
env('ADMIN_ROLE', 'admin'),
],

/*
Expand Down

0 comments on commit ee9982d

Please sign in to comment.