Created
January 27, 2012 19:37
-
-
Save austinbv/1690521 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| work POST /work(.:format) {:controller=>"works", :action=>"create"} | |
| new_work GET /work/new(.:format) {:controller=>"works", :action=>"new"} | |
| edit_work GET /work/edit(.:format) {:controller=>"works", :action=>"edit"} | |
| GET /work(.:format) {:controller=>"works", :action=>"show"} | |
| PUT /work(.:format) {:controller=>"works", :action=>"update"} | |
| DELETE /work(.:format) {:controller=>"works", :action=>"destroy"} |
This file contains hidden or 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 :works, :except => [:index, :new, :create] do | |
| resources :tasks, :only => [:index, :new, :create] | |
| resources :posts, :only => [:index, :new, :create] | |
| resources :documents, :only => [:index, :new, :create] | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment