app/controllers/pages_controller.rb in beef-pages-0.1.4 vs app/controllers/pages_controller.rb in beef-pages-0.1.5

- old
+ new

@@ -12,9 +12,9 @@ end def preview @page = Page.new(session[:page_preview]) session[:page_preview] = nil - render :action => "show" + render :template => "pages/templates/#{(@page.template || get_template_names.first)}" end end