I guess you could message him on GitHub for more information. This functionality will likely go core once it has all of the issues worked out + a clean, nice interface.
Figured out a way to do it and though it might be useful for someone.I extended pages controller just like in this guide: http://refinerycms.com/guides/extending-controllers-and-models-with-decoratorsSince I only needed to change layout for my home page my decorator looks like this:Refinery::PagesController.class_eval dolayout 'home', only: [:home]end
f I needed to define a layout for a few pages I could change it something like this:;Refinery::PagesController.class_eval dolayout :resolve_layoutprivatedef resolve_layoutcase params[:path]when "home""home"when "about""about"else"application"endendendLooking at the dates in the thread... Is there a better solution for multiple layouts these days?--
You received this message because you are subscribed to the Google
Groups "Refinery CMS" group.
To post to this group, send email to refine...@googlegroups.com
To unsubscribe from this group, send email to
refinery-cms...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/refinery-cms?hl=en
http://www.refinerycms.com