Skip to content

PHP code snippet – How to override default name for apiresourc route in laravel?

Route::resource('photo', 'PhotoController', ['parameters' => [
    'photo' => 'user_photo'
]]);
See also  How to use while loop in Java?

Leave a Reply

Your email address will not be published.

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