下面的代码给我提到的路线错误
Route::post('/new_blog_store', 'HoroscopeController@store');
如何解决此问题?
//blog section
Route::get('/blog', 'HoroscopeController@blog');
Route::get('/blog_post', 'HoroscopeController@blog_post');
//show blog by id
Route::get('/blog_post/{id}', 'HoroscopeController@show');
//for blog login
//Route::get('/login', 'HoroscopeController@login');
//Route::get('/sign_up', 'HoroscopeController@sign_up');
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
//middleware
Route::group(['middleware' => ['auth']], function() {
//for blog list page
Route::get('/blog_list', ['as' => 'blog_list', 'uses' =>
'HoroscopeController@blog_list']);
//create new blog
Route::get('/new_blog', 'HoroscopeController@new_blog');
Route::post('/new_blog_store', 'HoroscopeController@store');
//edit blog
Route::get('/edit_blog/{id}', 'HoroscopeController@edit');
//update blog
Route::post('/update_blog/{id}', 'HoroscopeController@update_blog');
//delete blog
Route::get('/delete/{id}', 'HoroscopeController@destroy');
});
//end