Skip to content

Commit

Permalink
Merge pull request #3124 from refinery/bugfix/issue-3110
Browse files Browse the repository at this point in the history
Specify the correct new_page_part_params.
  • Loading branch information
bricesanchez committed Mar 7, 2016
2 parents f3d9ef2 + 1c7d581 commit 0c1cf25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def destroy

protected
def new_page_part_params
params.permit(:title, :slug, :body)
params.except(:part_index).permit(:title, :slug, :body, :locale)
end

end
Expand Down

0 comments on commit 0c1cf25

Please sign in to comment.