add seeder for post & routing for list of post

This commit is contained in:
jenoh
2020-03-13 16:15:48 +01:00
parent 9f7ebbc3d0
commit 092e42e197
7 changed files with 123 additions and 2 deletions

View File

@ -21,4 +21,5 @@ 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');
Route::get('admin/home', 'HomeController@adminHome')->name('admin.home')->middleware('is_admin');
Route::get('/blog', 'HomeController@blog')->name('blog');