Create a gist now

Instantly share code, notes, and snippets.

before_filter :authenticate_user, :only => [:home, :profile, :setting]
before_filter :save_login_state, :only => [:login, :login_attempt]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment