Skip to content

How do I properly extend a Shield Controller? #1022

Answered by datamweb
EliMariaaaa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

What am I missing?

Because you have not set the routes for new controller. To do this you need to unset the default routes(service('auth')->routes($routes, ['except' => ['register']]);) from the circuit and then set up the routes with your new controller.
Read the document for more information.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@EliMariaaaa
Comment options

@datamweb
Comment options

Answer selected by EliMariaaaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants