FEATURE: simplify routes

This commit is contained in:
Michal Kváček
2016-09-25 13:48:12 +02:00
parent 8f4e6268a4
commit 4c35d95a73
7 changed files with 9 additions and 31 deletions
+1 -7
View File
@@ -1,12 +1,6 @@
<?php
Route::group([
'middleware' => [
'localeSessionRedirect',
'localizationRedirect',
'web',
'auth',
'adminMenu'
],
'middleware' => ['admin'],
'prefix' => \LaravelLocalization::setLocale() . '/admin/template',
'namespace' => 'Templates\Base\OnePage\Http\Controllers\Admin'
], function () {