这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class PreviewController < Refinery::PagesController

skip_before_action :error_404, :set_canonical

layout :layout

def show
render_with_templates?
end
Expand Down Expand Up @@ -44,6 +46,10 @@ def permitted_page_params
:layout_template, :custom_slug, parts_attributes: [:id, :title, :slug, :body, :position]
]
end

def layout
'application'
end
end
end
end
Expand Down