FEATURE: simplify routes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
Route::group([
|
||||
'middleware' => ['web', 'auth', 'adminMenu'],
|
||||
'middleware' => ['admin'],
|
||||
'namespace' => 'Modules\Gallery\Http\Controllers\Admin',
|
||||
'prefix' => 'admin/gallery'
|
||||
'prefix' => LaravelLocalization::setLocale() . 'admin/gallery'
|
||||
], function () {
|
||||
|
||||
// method for creating slider from photogallery
|
||||
|
||||
Reference in New Issue
Block a user