well...
include standard_layout on all but this one action/view"
layout "standard", :except =>"one_action"
now thats almost a 1-to-1 translation...amazing...
more at http://api.rubyonrails.org/classes/ActionController/Layout/
ClassMethods.html
On Thursday, March 16, 2006, at 7:38 PM, zac elston
wrote:>I have an action/view that I need to return only data (other external
>processes query this action/view) but I need the standard_layout
>template to be attached to the other actions/views in the same
>controller. ie, the editing of the data in the model needs to include
>all the navigation, except one view which should just return a
>text/plain output.
>
> how do I say "include standard_layout on all but this one
action/view"
>?
>
>thanks
>-zaq
>
>--
>Posted via http://www.ruby-forum.com/.
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
Mikkel Bruun
www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)
--
Posted with http://DevLists.com. Sign up and save your time!