You have to use route like this serial
Route::get('article/export', ['as' => 'article.export', 'uses' => 'ArticleController@export']);
Route::resource('article', 'ArticleController');
Otherwise article/export route will never run .
sohel4r said:
You have to use route like this serial
Route::get('article/export', ['as' => 'article.export', 'uses' => 'ArticleController@export']); Route::resource('article', 'ArticleController');
Otherwise article/export route will never run .
Wow it works. Just switch it up before Restful Route. :D Thank you very much.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community