Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to override default name for apiresourc route in laravel

Route::resource('photo', 'PhotoController', ['parameters' => [
    'photo' => 'user_photo'
]]);
Source by laraveldaily.com #
 
PREVIOUS NEXT
Tagged: #override #default #apiresourc #route #laravel
Mr. by lxbfYeaa
1
ADD COMMENT
Topic
Name
5+9 =