Skip to content

Commit

Permalink
permit :position attribute for Refinery::Portfolio::Item
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyshev committed Jan 24, 2016
1 parent 971a3ea commit 806d1ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def find_gallery

private
def item_params
params.require(:item).permit(:title, :caption, :image_id, :gallery_id)
params.require(:item).permit(:title, :caption, :image_id, :gallery_id, :position)
end

end
Expand Down

0 comments on commit 806d1ea

Please sign in to comment.