G
G
GrimJack2017-09-28 10:45:30
Laravel
GrimJack, 2017-09-28 10:45:30

Is it possible to override the library route in Laravel?

I am using the cms package for laravel 5.5 and it became necessary to completely redesign the authorization page, but at the same time it will remain on its route, how can this be done?
As a matter of fact it is necessary that my controller was given to the certain address.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Budaev, 2017-09-28
@Markus_Kane

What's the problem? Write your route in routes.php and point to your controller. It will override the route generated by the library.
But this is not entirely correct. It is worth looking in the library documentation to see if it is possible to specify an option in the config in the spirit of "use your own routes for authorization". Then the library will not create its own routes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question