Created
May 6, 2010 06:57
-
-
Save TheNicholasNick/391875 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
access_control.roles_for :any do |role| | |
role.protect "/user" | |
role.allow "/user/login" | |
role.allow "/user/logout" | |
role.allow "/user/new" | |
role.allow "/user/create" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment