I am developing a blog system with Rails and I have a question about the
My client wants me to create an approve and disapprove action for
So, I did create two actions in the rails comment controller called by a
put* method, since the only thing they do is change the approved
at the database. I am still not familiar with REST, so I decided to ask
you would do in a situation like this.
Another way I was thinking is create an action update and there I would
handle if I get a params[:approve] or a params[:disapprove]. I know it
quite simple question, but I did research, but I think I didn’t find the
right keywords to look for it.
Thanks for any inputs in advance.