Skip to content

Instantly share code, notes, and snippets.

@john-griffin
Created July 13, 2015 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save john-griffin/d5414549df5a5d7edbaf to your computer and use it in GitHub Desktop.
Save john-griffin/d5414549df5a5d7edbaf to your computer and use it in GitHub Desktop.
Rails 4 catch all routes
match "(*path)", to: proc { [410, {}, ['']] }, via: :*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment