New Discussion

Notifications

You’re not receiving notifications from this thread.

Routing Constraints with Rails Authentication Generator Discussion

4
General

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.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 92,799+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.