navbar in admin

This commit is contained in:
Malibu
2015-02-13 11:41:05 +01:00
parent e1148d1a43
commit eb28b20e4e
5 changed files with 21 additions and 22 deletions

View File

@ -2,6 +2,7 @@
class AdminController extends Controller {
/**
* Create a new controller instance.
*
@ -19,7 +20,7 @@ class AdminController extends Controller {
*/
public function index()
{
return view('admin');
return view('admin', ['nameRoute' => 'Admin']);
}
}

View File

@ -2,6 +2,7 @@
class ReferentController extends Controller {
/**
* Create a new controller instance.
*
@ -19,7 +20,7 @@ class ReferentController extends Controller {
*/
public function index()
{
return view('referent');
return view('referent', ['nameRoute' => 'Référent']);
}
}