Displaying 1 result from an estimated 1 matches for "childcontrollers".
Did you mean:
childcontroller
2006 Dec 28
0
Localization using inheritance
...ild controller I change and/or add them and I
get just what I wanted. However, for every method I used in
ParentController I must have one in ChildController which says what view
to use for rendering (since both controllers work with same views). My
question is: is there a way to tell Rails that my ChildControllers views
are those in "/view/parent" folder, so that I don''t have to implement
methods that only have
super
render :template => "parent/..."
lines?
Thanks in advance!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~...