Displaying 1 result from an estimated 1 matches for "rhalff".
Did you mean:
halff
2006 Mar 10
1
Problem rendering components
...fined in the layout template renders the
correct value defined in AccountsController. However, the @title defined
in the components template renders the value defined in
ApplicationController.
Isnt'' everything supposed to be rendered in the context of the
controller/action requested?
rhalff commented on the IRC:
rhalff: dsalama, but a component is a controller itself, so it uses that
context. your component probably extends application controller and you
didn''t set a title in the component controller itself.
To which I replied:
dsalama: rhalff: you just hit the nail in the...