WIP no, seriously fix the bucket address bug

This commit is contained in:
Kasia Jarmołkowicz 2018-05-17 23:52:15 +02:00 committed by Eric Schultz
parent f1027ab564
commit 02868b5e17

View file

@ -46,6 +46,8 @@ class ProfilesController < ApplicationController
else
@profile = current_user.profile
end
puts "______________awsbucketaddress: #{Settings.image.host}"
puts "______________awsbucketaddress: #{Settings.image&.host}"
@profile.update_attributes(params[:profile])
json_saved @profile, 'Profile updated'
end