Skip to content

Instantly share code, notes, and snippets.

@hackerkid
Created February 25, 2016 19:09
Show Gist options
  • Save hackerkid/47d5be5f4c7a437bf9b5 to your computer and use it in GitHub Desktop.
Save hackerkid/47d5be5f4c7a437bf9b5 to your computer and use it in GitHub Desktop.
elsif x == "#"
redirect_to not_sucess_path
else
redirect_to :show
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment