Created
August 31, 2011 09:26
-
-
Save ybart/1183157 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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