Skip to content

Instantly share code, notes, and snippets.

@marcamillion
Created April 14, 2011 20:10
Show Gist options
  • Save marcamillion/920376 to your computer and use it in GitHub Desktop.
Save marcamillion/920376 to your computer and use it in GitHub Desktop.
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