A
A
avr19722018-04-07 11:52:33
Laravel
avr1972, 2018-04-07 11:52:33

Am I understanding URLs For Controller Actions in Laravel correctly?

The action function generates a URL for the given controller action

$url = action('[email protected]');
Do I understand correctly that the URL is taken from the route specified for the HomeController controller and its index method?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2018-04-07
@avr1972

Yes, you understand correctly.
PS Honorable sir, it is very commendable that you are trying to see the root, but what prevents you from opening the function code and seeing what is happening there?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question