Commit fee71990 authored by Nicolas Widart's avatar Nicolas Widart

Remove unused routes

parent a49dce12
...@@ -3,13 +3,9 @@ ...@@ -3,13 +3,9 @@
$router->group(['prefix' => LaravelLocalization::setLocale(), 'before' => 'LaravelLocalizationRedirectFilter|auth.admin'], function($router) { $router->group(['prefix' => LaravelLocalization::setLocale(), 'before' => 'LaravelLocalizationRedirectFilter|auth.admin'], function($router) {
$router->group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Setting\Http\Controllers'], function($router) $router->group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Setting\Http\Controllers'], function($router)
{ {
$router->resource('settings', 'Admin\SettingController', ['except' => ['show'], 'names' => [ $router->resource('settings', 'Admin\SettingController', ['except' => ['show', 'edit', 'update', 'destroy'], 'names' => [
'index' => 'dashboard.setting.index', 'index' => 'dashboard.setting.index',
'create' => 'dashboard.setting.create', 'store' => 'dashboard.setting.store'
'store' => 'dashboard.setting.store',
'edit' => 'dashboard.setting.edit',
'update' => 'dashboard.setting.update',
'destroy' => 'dashboard.setting.destroy',
]]); ]]);
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment