Displaying 1 result from an estimated 1 matches for "myotheraction".
2006 Jul 18
4
Multiple Layouts - Single Controller
How do I do multiple layouts for a single controller:
I am aware I can do... render(:layout =>''mylayout'') for individual
actions, however this becomes a multiple render problem.
I tried this...
layout "mylayout", :except => [:myaction, :myotheraction]
layout "myotherlayout", :only => [:myaction, :myotheraction]
However that doesn''t work, I just get blank layouts for :myaction and
:myotheraction
Suggestions?
~Jamie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.or...