Update routes
This commit is contained in:
@@ -21,6 +21,13 @@ use Illuminate\Contracts\Routing\Registrar;
|
||||
*/
|
||||
class SettingRoutes
|
||||
{
|
||||
/**
|
||||
* Defines if these routes are for the browser.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public static $browser = true;
|
||||
|
||||
/**
|
||||
* Define the dashboard setting routes.
|
||||
*
|
||||
@@ -31,7 +38,7 @@ class SettingRoutes
|
||||
public function map(Registrar $router)
|
||||
{
|
||||
$router->group([
|
||||
'middleware' => ['web', 'auth'],
|
||||
'middleware' => ['auth'],
|
||||
'namespace' => 'Dashboard',
|
||||
'prefix' => 'dashboard/settings',
|
||||
], function (Registrar $router) {
|
||||
|
||||
Reference in New Issue
Block a user