Skip to content

Commit

Permalink
Fixes view_template and layout_template querystring options for the n…
Browse files Browse the repository at this point in the history
…ew page action.
  • Loading branch information
parndt committed Aug 19, 2014
1 parent a875ece commit 2d536cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/app/controllers/refinery/admin/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def page_params
end

def new_page_params
params.permit(:parent_id)
params.permit(:parent_id, :view_template, :layout_template)
end
end
end
Expand Down

0 comments on commit 2d536cb

Please sign in to comment.