Created
April 7, 2011 14:52
-
-
Save keo/907915 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
protect_from_forgery | |
include Hobo::Controller::AuthenticationSupport | |
before_filter :except => [:login, :forgot_password, :accept_invitation, :do_accept_invitation, :reset_password] do | |
login_required unless User.count == 0 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment