Skip to content

Instantly share code, notes, and snippets.

@nicinabox
Created June 5, 2012 19:03
Show Gist options
  • Save nicinabox/2877023 to your computer and use it in GitHub Desktop.
Save nicinabox/2877023 to your computer and use it in GitHub Desktop.
Static routes in Rails
get ":action", :to => "static", :action => /[a-z-]+/, :as => :static
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment