fix migration && add seeder && add is_admin

This commit is contained in:
jenoh
2020-03-13 10:48:18 +01:00
parent cae091e1ec
commit 7f4c5d47df
9 changed files with 424 additions and 32 deletions

View File

@ -21,3 +21,4 @@ Route::post('contact-us', ['as' => 'contactus.store', 'uses' => 'ContactUSContro
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('admin/home', 'HomeController@adminHome')->name('admin.home')->middleware('is_admin');