conditional selection of layout

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

conditional selection of layout

fugee ohu
I have a different layout for a mounted engine namespace but it uses the pictures controller from the parent namespace and then ends up using the main app I think there's two different approaches I could use, a render after respond_to do format or a callback I'd prefer the callback way I think?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/966e10c0-c801-4721-90cb-b2a65cc775bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.