Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to named route resource laravel

Route::resource('faq', 'ProductFaqController', [
    'names' => [
        'index' => 'faq',
        'store' => 'faq.new',
        // etc...
    ]
]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #named #route #resource #laravel
ADD COMMENT
Topic
Name
1+5 =