Hey You can do Controller2.new.action2, but that's not quite beautiful .. more over what your action2 will do after finish ? redirect ? render ?
Regards On 11 déc, 08:15, pankaj <pankajbhage...@gmail.com> wrote: > Hi, > Lets assume we have an url, /controller1/action1. > In the before filter, under certain conditions, I want to route it > to /controller2/action2. without changing the url at the client side > ie I donot want to use redirect. Please help. > > Regards, > Pankaj -- 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.