refinery/refinerycms — pull request #2219 by j15e (2013-03-20 03:02:03+00:00)
Title: Fix custom page view template preview.

Using `render_options[:action] = page.view_template` does not work with refactored pages preview controller. Instead, I set relative template path (refinery/pages) is set for Pages::PreviewController (not root path as fixed in #2146)

I moved all the "default template logic" to the common Pages::RenderOptions module although not necessary for the original PagesController.