Medium
In my routes, I want to add the following routes in a single method call:
GET /users
GET /users/:id
POST /users
PUT /users/:id
DELETE /users/:id
What should I put?
Author: InconnuStatus: PublishedQuestion passed 95 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Rails: The #create action raises an exception if the request parameters do not contain a :foo key.1
What are the columns of the users table in Rails?2
Create a Rails controller with a bar action and a value parameter.1
Use the I18n gem to translate a string, a date and a pluralized string in Rails1
How to execute Ruby code without displaying it.2
Create a user in Rails with a validation error1
Translate the string 'hello_world' to French in Rails