Hi all
Is there some sort of a built-in possiblity to disable the rendering of
the layout using a GET parameter?
Something like
:url_for :controller => :news, :action => :show, :id => news_item,
:layout => false
This should construct something like that:
/news/show/123&layout=false
And automatically the layout wouldn’t be rendered. Is this already
built-in, or should I code it on my own?
Thanks for info.
Joshua