A
A
avr19722017-10-17 19:22:56
Laravel
avr1972, 2017-10-17 19:22:56

What has replaced the controller method in Laravel 5.5?

Previously, Laravel allows you to easily define a single route to handle every action in a controller class Route::controller('users', 'UserController'). Tell me please, do I understand correctly that now only resource remains, nothing new has appeared instead of the controller method?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2017-10-17
@avr1972

Correctly. It is necessary to register routes explicitly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question