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  Python code snippet - How to overlap two barplots in seaborn?

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.