new dashboard and profile pages with new design

This commit is contained in:
Nabeel Shahzad
2017-08-02 13:13:08 -05:00
parent e4dc989ab2
commit e4e23dd8a6
20 changed files with 306 additions and 352 deletions

View File

@@ -7,10 +7,11 @@ Route::get('/home', 'HomeController@index');
* These are only visible to a logged in user
*/
Route::group([
'namespace' => 'Frontend', 'prefix' => 'user', 'as' => 'frontend.',
'namespace' => 'Frontend', 'prefix' => '', 'as' => 'frontend.',
'middleware' => ['role:admin|user'],
], function () {
Route::resource('dashboard', 'DashboardController');
Route::resource('profile', 'ProfileController');
});
Auth::routes();