Skip to content

Instantly share code, notes, and snippets.

@LaurMo
Created June 10, 2014 23:54
Show Gist options
  • Save LaurMo/8b83889d61c6e2d6e20b to your computer and use it in GitHub Desktop.
Save LaurMo/8b83889d61c6e2d6e20b to your computer and use it in GitHub Desktop.
Prefix Verb URI Pattern Controller#Action
inventories GET /inventories(.:format) inventories#index
POST /inventories(.:format) inventories#create
new_inventory GET /inventories/new(.:format) inventories#new
edit_inventory GET /inventories/:id/edit(.:format) inventories#edit
inventory GET /inventories/:id(.:format) inventories#show
PATCH /inventories/:id(.:format) inventories#update
PUT /inventories/:id(.:format) inventories#update
DELETE /inventories/:id(.:format) inventories#destroy
tool_checkouts GET /tools/:tool_id/checkouts(.:format) checkouts#index
POST /tools/:tool_id/checkouts(.:format) checkouts#create
new_tool_checkout GET /tools/:tool_id/checkouts/new(.:format) checkouts#new
edit_tool_checkout GET /tools/:tool_id/checkouts/:id/edit(.:format) checkouts#edit
tool_checkout GET /tools/:tool_id/checkouts/:id(.:format) checkouts#show
PATCH /tools/:tool_id/checkouts/:id(.:format) checkouts#update
PUT /tools/:tool_id/checkouts/:id(.:format) checkouts#update
DELETE /tools/:tool_id/checkouts/:id(.:format) checkouts#destroy
tools GET /tools(.:format) tools#index
POST /tools(.:format) tools#create
new_tool GET /tools/new(.:format) tools#new
edit_tool GET /tools/:id/edit(.:format) tools#edit
tool GET /tools/:id(.:format) tools#show
PATCH /tools/:id(.:format) tools#update
PUT /tools/:id(.:format) tools#update
DELETE /tools/:id(.:format) tools#destroy
checkouts GET /checkouts(.:format) checkouts#index
rails_admin /admin RailsAdmin::Engine
root GET / tools#index
page GET /pages/*id high_voltage/pages#show
Routes for RailsAdmin::Engine:
dashboard GET / rails_admin/main#dashboard
index GET|POST /:model_name(.:format) rails_admin/main#index
new GET|POST /:model_name/new(.:format) rails_admin/main#new
export GET|POST /:model_name/export(.:format) rails_admin/main#export
bulk_delete POST|DELETE /:model_name/bulk_delete(.:format) rails_admin/main#bulk_delete
bulk_action POST /:model_name/bulk_action(.:format) rails_admin/main#bulk_action
show GET /:model_name/:id(.:format) rails_admin/main#show
edit GET|PUT /:model_name/:id/edit(.:format) rails_admin/main#edit
delete GET|DELETE /:model_name/:id/delete(.:format) rails_admin/main#delete
show_in_app GET /:model_name/:id/show_in_app(.:format) rails_admin/main#show_in_app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment