Use PictureUploader on Lodging

This commit is contained in:
Henne Vogelsang 2016-04-27 15:27:33 +02:00
parent 40023044af
commit 0ad3ff01c3
5 changed files with 11 additions and 17 deletions

View file

@ -47,7 +47,7 @@ module Admin
private
def lodging_params
params.require(:lodging).permit(:name, :description, :photo, :website_link, :conference_id)
params.require(:lodging).permit(:name, :description, :picture, :picture_cache, :website_link, :conference_id)
end
end
end