Skip to content

Instantly share code, notes, and snippets.

@x37v
Created November 9, 2010 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x37v/669670 to your computer and use it in GitHub Desktop.
Save x37v/669670 to your computer and use it in GitHub Desktop.
opportunities GET /questionnaires(.:format) {:action=>"index", :controller=>"opportunities"}
opportunities POST /questionnaires(.:format) {:action=>"create", :controller=>"opportunities"}
new_opportunity GET /questionnaires/new(.:format) {:action=>"new", :controller=>"opportunities"}
edit_opportunity GET /questionnaires/:id/edit(.:format) {:action=>"edit", :controller=>"opportunities"}
opportunity GET /questionnaires/:id(.:format) {:action=>"show", :controller=>"opportunities"}
opportunity PUT /questionnaires/:id(.:format) {:action=>"update", :controller=>"opportunities"}
opportunity DELETE /questionnaires/:id(.:format) {:action=>"destroy", :controller=>"opportunities"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment