Hi all,
This is something I puzzle for quite a while. I need just one more controller method just like index, that doesn't need another parameter when used with redirect_to (not like show). For that I define in config/routes:
map.resources :orders, :member => { :confirm => :get }
In my controller I can do then
redirect_to confirm_order_path(some_id), but I actually want
redirect_to confirm_order_path
Is there an easy way to do this?
Thanks in advance and Merry Xmas Jens