Skip to content

Instantly share code, notes, and snippets.

@ybart
Created August 31, 2011 09:26
Show Gist options
  • Save ybart/1183157 to your computer and use it in GitHub Desktop.
Save ybart/1183157 to your computer and use it in GitHub Desktop.
applications_licenses GET /licenses/applications(.:format) {:action=>"applications", :controller=>"licenses"}
GET /licenses(.:format) {:action=>"index", :controller=>"licenses"}
POST /licenses(.:format) {:action=>"create", :controller=>"licenses"}
GET /licenses/new(.:format) {:action=>"new", :controller=>"licenses"}
GET /licenses/:id/edit(.:format) {:action=>"edit", :controller=>"licenses"}
GET /licenses/:id(.:format) {:action=>"show", :controller=>"licenses"}
PUT /licenses/:id(.:format) {:action=>"update", :controller=>"licenses"}
DELETE /licenses/:id(.:format) {:action=>"destroy", :controller=>"licenses"}
resources :licenses do
get 'applications', :on => :collection
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment