How to keep it CRUD and RESTFull in rails (concrete example)
问题 I've difficulties with keeping my controllers not too complicated and with the basic actions rails creates when we scaffold. Could someone tell me if the approach below is the right one. I've a model Project and those basic routes it: GET /projects -> Project#index GET /projects/new -> Project#new POST /projects -> Project#create GET /projects/:id -> Project#show GET /projects/:id/edit -> Project#edit PATCH /projects/:id -> Project#update PUT /projects/:id -> Project#update Now I would like