Other Pages

Expand All


DB HTTP REST Rails Notes
GET /topics/new new shows the page with the "new topic" form
Create POST /topics create creates a new topic in the database
Read GET /topics index shows the list of all topics
Read GET /topics/2 show shows only topic number 2
Read GET /topics/2/edit edit shows the page with the "edit topic 2" form
Update PUT /topics/2 update changes topic number 2
Delete DELETE /topics/2 destroy deletes topic number 2