On 14 April 2010 23:23, David Zhu <dzwestwindso...@gmail.com> wrote:
> But i was just wondering, by adding that confirm action in that
> controller, does it violate the Restful Resources rules?

It does break the principles of REST, but if you're not that worried
about being RESTful, there's no problem.

If you do want to follow rest, instead of putting the confirm action
in the ProductController, create a new controller
(ProductConfirmController, maybe) that does the functions of the
confirm in it's create method.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to