Routing Constraints with Rails Authentication Generator Discussion
this is a great resource for Rails developers looking to enhance their application's security and routing logic!
Interesting, never thought about putting routing constraints in the controller/concerns folder! thanks for the lesson!
Cool lesson! Thanks.
How does this compare to adding constraints in the controller in terms of security? Is it a full replacement or more of an measure on top?
Very cool lesson. I've been thinking on the setup for an app with an admin section and agreed that making the route basically not exist unless they are an admin is my preferred way for something like admin.