lazaronixon / authentication-zero

An authentication system generator for Rails applications.
MIT License
1.62k stars 53 forks source link

Add Admin Constraint to Routes #98

Closed jmarsh24 closed 9 months ago

jmarsh24 commented 9 months ago

How do you add a admin constraint to routes when using this gem?

lazaronixon commented 9 months ago

Like this? https://github.com/lazaronixon/authentication-zero/issues/72

jmarsh24 commented 9 months ago

Exactly. Thank you. I had trouble finding it. Maybe it would be worth while to add it a wiki or sorts? Or in the documentation?