Skip to content

Instantly share code, notes, and snippets.

@sj26
Created January 2, 2012 12:51
Show Gist options
  • Save sj26/1550572 to your computer and use it in GitHub Desktop.
Save sj26/1550572 to your computer and use it in GitHub Desktop.
$ rake routes
security_foo GET /security(.:format) {:controller=>"security", :action=>"foo"}
Sandbox::Application.routes.draw do
scope "/security", controller: "security" do
get "/" => :foo, as: "security_foo"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment