Skip to content

Instantly share code, notes, and snippets.

@pmyjavec
Created April 5, 2011 13:29
Show Gist options
  • Save pmyjavec/903584 to your computer and use it in GitHub Desktop.
Save pmyjavec/903584 to your computer and use it in GitHub Desktop.
new_user_session GET /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"new"}
user_session POST /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"create"}
destroy_user_session GET /users/sign_out(.:format) {:controller=>"devise/sessions", :action=>"destroy"}
user_password POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
home /home(.:format) {:controller=>"home", :action=>"index"}
update_info_region GET /regions/:id/update_info(.:format) {:controller=>"regions", :action=>"update_info"}
regions GET /regions(.:format) {:controller=>"regions", :action=>"index"}
POST /regions(.:format) {:controller=>"regions", :action=>"create"}
new_region GET /regions/new(.:format) {:controller=>"regions", :action=>"new"}
edit_region GET /regions/:id/edit(.:format) {:controller=>"regions", :action=>"edit"}
region GET /regions/:id(.:format) {:controller=>"regions", :action=>"show"}
PUT /regions/:id(.:format) {:controller=>"regions", :action=>"update"}
DELETE /regions/:id(.:format) {:controller=>"regions", :action=>"destroy"}
root /(.:format) {:controller=>"regions", :action=>"index"}
rails_admin_dashboard /admin(.:format) {:controller=>"rails_admin/main", :action=>"index"}
rails_admin_list GET /admin/:model_name(.:format) {:controller=>"rails_admin/main", :action=>"list"}
rails_admin_new GET /admin/:model_name/new(.:format) {:controller=>"rails_admin/main", :action=>"new"}
rails_admin_get_pages /admin/:model_name/get_pages(.:format) {:controller=>"rails_admin/main", :action=>"get_pages"}
rails_admin_create POST /admin/:model_name(.:format) {:controller=>"rails_admin/main", :action=>"create"}
rails_admin_edit GET /admin/:model_name/:id/edit(.:format) {:controller=>"rails_admin/main", :action=>"edit"}
rails_admin_update PUT /admin/:model_name/:id(.:format) {:controller=>"rails_admin/main", :action=>"update"}
rails_admin_delete GET /admin/:model_name/:id/delete(.:format) {:controller=>"rails_admin/main", :action=>"delete"}
rails_admin_destroy DELETE /admin/:model_name/:id(.:format) {:controller=>"rails_admin/main", :action=>"destroy"}
rails_admin_bulk_delete GET /admin/:model_name/bulk_delete(.:format) {:controller=>"rails_admin/main", :action=>"bulk_delete"}
rails_admin_bulk_destroy POST /admin/:model_name/bulk_destroy(.:format) {:controller=>"rails_admin/main", :action=>"bulk_destroy"}
rails_admin_history_list /admin/history/list(.:format) {:controller=>"rails_admin/history", :action=>"list"}
rails_admin_history_slider /admin/history/slider(.:format) {:controller=>"rails_admin/history", :action=>"slider"}
rails_admin_history_model /admin/history/:model_name(.:format) {:controller=>"rails_admin/history", :action=>"for_model"}
rails_admin_history_object /admin/history/:model_name/:id(.:format) {:controller=>"rails_admin/history", :action=>"for_object"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment