Guest User

Untitled

a guest
Jul 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. HTTP verb URL Action Purpose
  2.  
  3. GET /tasks index display a list of all tasks
  4. POST /tasks create create a new task
  5. GET /tasks/new new return an HTML form for creating a new task
  6. GET /tasks/1/edit edit return an HTML form for editing a task
  7. GET /tasks/1 show display a specific task
  8. PUT /tasks/1 update update a specific task
  9. DELETE /tasks/1 destroy delete a specific task
  10.  
  11.  
  12.  
  13. tasks_path GET /tasks(.:format)
  14. @tasks POST /tasks(.:format)
  15. new_task_path GET /tasks/new(.:format)
  16. edit_task_path GET /tasks/:id/edit(.:format)
  17. task_path(@task) GET /tasks/:id(.:format)
  18. @task PUT /tasks/:id(.:format)
  19. @task DELETE /tasks/:id(.:format)
Add Comment
Please, Sign In to add comment