Rails.root: /app
Routes match in priority from top to bottom
Helper | HTTP Verb | Path | Controller#Action |
---|---|---|---|
Path / Url | |||
aticles_path | GET | /aticles(.:format) |
aticles#index |
POST | /aticles(.:format) |
aticles#create |
|
new_aticle_path | GET | /aticles/new(.:format) |
aticles#new |
edit_aticle_path | GET | /aticles/:id/edit(.:format) |
aticles#edit |
aticle_path | GET | /aticles/:id(.:format) |
aticles#show |
PATCH | /aticles/:id(.:format) |
aticles#update |
|
PUT | /aticles/:id(.:format) |
aticles#update |
|
DELETE | /aticles/:id(.:format) |
aticles#destroy |
|
documents_path | GET | /documents(.:format) |
documents#index |
POST | /documents(.:format) |
documents#create |
|
new_document_path | GET | /documents/new(.:format) |
documents#new |
edit_document_path | GET | /documents/:id/edit(.:format) |
documents#edit |
document_path | GET | /documents/:id(.:format) |
documents#show |
PATCH | /documents/:id(.:format) |
documents#update |
|
PUT | /documents/:id(.:format) |
documents#update |
|
DELETE | /documents/:id(.:format) |
documents#destroy |
|
categories_path | GET | /categories(.:format) |
categories#index |
POST | /categories(.:format) |
categories#create |
|
new_category_path | GET | /categories/new(.:format) |
categories#new |
edit_category_path | GET | /categories/:id/edit(.:format) |
categories#edit |
category_path | GET | /categories/:id(.:format) |
categories#show |
PATCH | /categories/:id(.:format) |
categories#update |
|
PUT | /categories/:id(.:format) |
categories#update |
|
DELETE | /categories/:id(.:format) |
categories#destroy |
|
root_path | GET | / |
home#index |
products_path | GET | /products(.:format) |
home#products |
about_path | GET | /about(.:format) |
home#about |
blog_path | GET | /news(.:format) |
home#blog |
Parameters:
None
Headers:
None