Merge pull request #1123 from phecho/master

added sub_title localization for SettingController,updated translatio…
This commit is contained in:
James Brooks
2015-11-10 15:39:25 +00:00
2 changed files with 6 additions and 13 deletions

View File

@@ -30,13 +30,6 @@ class SettingsController extends Controller
*/
protected $subMenu = [];
/**
* The title of the sub-menu.
*
* @var string
*/
protected $subTitle = 'Settings';
/**
* Creates a new settings controller instance.
*
@@ -90,7 +83,7 @@ class SettingsController extends Controller
];
View::share([
'sub_title' => $this->subTitle,
'sub_title' => trans('dashboard.settings.settings'),
'sub_menu' => $this->subMenu,
]);
}