Use PictureUploader on Lodging
This commit is contained in:
parent
40023044af
commit
0ad3ff01c3
5 changed files with 11 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue