diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index a28c1e35..6737b17d 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -80,8 +80,14 @@ @if(Entrust::hasRole('admin')) Admin @endif - Dashboard - Logout + Dashboard + + Sign out + +
@endif @endif diff --git a/routes/web.php b/routes/web.php index aae2f422..8781ba7e 100755 --- a/routes/web.php +++ b/routes/web.php @@ -8,7 +8,7 @@ Route::get('/home', 'HomeController@index'); * These are only visible to a logged in user */ Route::group([ - 'namespace' => 'Frontend', 'prefix' => 'frontend', 'as' => 'frontend.', + 'namespace' => 'Frontend', 'prefix' => 'user', 'as' => 'frontend.', 'middleware' => ['role:admin|user'], ], function () { Route::resource('dashboard', 'DashboardController');