used resoure route how to add another route

101

used resoure route how to add another route -

Just add a route to that method separately, before you register the resource:
-------------------------------------------------------------------------------
Route::get('foo/bar', 'FooController@bar');
Route::resource('foo', 'FooController');

Comments

Submit
0 Comments