ldc-portsalaries/config/crud-policies.php
Jérémy Munsch 4bad915c09
Fix flash info html save and display
- require kwaadpepper/crud-policies version 0.2.0
2021-11-10 12:28:47 +01:00

44 lines
1.1 KiB
PHP

<?php
return [
/**
* The url prefix of Omen file manager
** default is 'crud-policies'
*! The url prefix must not match any file in public folder
*/
'urlPrefix' => 'crud-policies',
/**
* You shall protect routes
* These are applied to crud routes directly as middlewares
*/
'middlewares' => [
\App\Http\Middleware\EncryptCookies::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Session\Middleware\StartSession::class,
'auth:web'
],
/**
* The public path where are stored
* crud-policies asset files
*
* Change this if you want to modify
* published assets folder under /public
** default is 'vendor/crud-policies'
*/
'assetPath' => 'vendor/crud-policies',
/**
* This is the package layout that will be used
* to display crud elements
*
* You can publish views to know what sections it
* has to display
*/
'viewLayout' => 'layouts.backend',
// Dont touch this
'isLoaded' => true
];