Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #resoure #route #add #route
ADD COMMENT
Topic
Name
9+1 =