Created
April 14, 2011 20:10
-
-
Save marcamillion/920376 to your computer and use it in GitHub Desktop.
This file contains 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
def after_sign_in_path_for(resource) | |
if (current_user.has_trial_expired?) | |
return redirect_to(:settings) | |
else | |
# | |
end | |
super | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment