What if you want to use a global partial most of the time, but sometimes
want
to override it?
Would it add any value to have rails check the controller specific
directory
first, and then automatically look in shared/global/layouts/whatever if
not
found? Seems intuitive to me, but may just mean higher complexity with
no
real gain.
I scaffolded a new controller and the default layout that was generated
got used until I removed it, and then the global one got used.
Wes
Lucifron wrote:
What if you want to use a global partial most of the time, but sometimes
want
to override it?
Would it add any value to have rails check the controller specific
directory
first, and then automatically look in shared/global/layouts/whatever if
not
found? Seems intuitive to me, but may just mean higher complexity with
no
real gain.