Commit b10193c0 authored by Nicolas Widart's avatar Nicolas Widart

Adding one more title translation

parent a5e9386b
......@@ -48,4 +48,9 @@ class SettingController extends AdminBaseController
{
dd($module . ' settings');
}
public function postModuleSettings($module)
{
dd('Module settings posted');
}
}
......@@ -4,6 +4,7 @@ $router->group(['prefix' => LaravelLocalization::setLocale(), 'before' => 'Larav
$router->group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Setting\Http\Controllers'], function($router)
{
$router->get('settings/{module}', ['as' => 'dashboard.module.settings', 'uses' => 'Admin\SettingController@getModuleSettings']);
$router->post('settings/{module}', ['as' => 'dashboard.module.settings.post', 'uses' => 'Admin\SettingController@postModuleSettings']);
$router->resource('settings', 'Admin\SettingController', ['except' => ['show', 'edit', 'update', 'destroy', 'create'], 'names' => [
'index' => 'dashboard.setting.index',
'store' => 'dashboard.setting.store'
......
......@@ -2,6 +2,7 @@
return [
'title' => [
'settings' => 'Settings',
'general settings' => 'General settings',
'module settings' => 'Module settings',
]
......
......@@ -2,6 +2,7 @@
return [
'title' => [
'settings' => 'Configurations',
'general settings' => 'Configuration générale',
'module settings' => 'Configuration des modules',
]
......
......@@ -2,7 +2,7 @@
@section('content-header')
<h1>
Settings
{{ trans('setting::settings.title.settings') }}
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-cog"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
......
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