Skip to content

PHP code snippet – 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');
See also  How to write program in Python to get the largest nuber?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.