Fixed all titles, subtitles and icons to properly display new layout.

This commit is contained in:
James Cole
2014-09-17 08:55:51 +02:00
parent 9e88d7a60d
commit c61f1307d8
26 changed files with 198 additions and 130 deletions

View File

@@ -22,6 +22,9 @@ class ProfileController extends BaseController
*/
public function index()
{
View::share('title','Profile');
View::share('subTitle',Auth::user()->email);
View::share('mainTitleIcon','fa-user');
return View::make('profile.index');
}
@@ -30,6 +33,9 @@ class ProfileController extends BaseController
*/
public function changePassword()
{
View::share('title',Auth::user()->email);
View::share('subTitle','Change your password');
View::share('mainTitleIcon','fa-user');
return View::make('profile.change-password');
}