How can i call a function/method defined in a controller into another view .. ? -- Posted via http://www.ruby-forum.com/.
Hermant, this sounds lika a violation of the MVC pattern. You might want to rethink your design. Regards Nicolai
2009/7/13 Hemant Bhargava <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > How can i call a function/method defined in a controller into another > view .. ?Possibly put the method in the model instead. Colin
Thanks Champs .. Got it .. :) Colin Law wrote:> 2009/7/13 Hemant Bhargava <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>: >> >> How can i call a function/method defined in a controller into another >> view .. ? > > > Possibly put the method in the model instead. > > Colin-- Posted via http://www.ruby-forum.com/.