Would an after_filter work? On Thu, Jul 9, 2009 at 9:04 AM, mike <[email protected]> wrote:
> jap thats right. but is there a way to change the default path without > actually touching every controller method? > > > On Thu, Jul 9, 2009 at 3:00 PM, James Englert <[email protected]>wrote: > >> I'm pretty sure you can just call render at the end of the action to >> render whatever you want. >> >> http://api.rubyonrails.org/classes/ActionController/Base.html#M000676 >> >> I'm not sure you would want to do this though. >> >> >> On Thu, Jul 9, 2009 at 8:55 AM, mike <[email protected]> wrote: >> >>> Hello all, >>> >>> i would like to change the default view path for one of my controllers. >>> Like StudentsController should use templates located in views/persons >>> instead views/students. Is that possible? >>> >>> Greetings, Mike >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

