Declare middleware use in route file or controller

Posted 5 days ago by Veleous

Is there a convention for where the middleware used should be declared, whether it be on the route or in a controller constructor?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.