WIP no, seriously fix the bucket address bug
This commit is contained in:
parent
f1027ab564
commit
02868b5e17
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ class ProfilesController < ApplicationController
|
||||||
else
|
else
|
||||||
@profile = current_user.profile
|
@profile = current_user.profile
|
||||||
end
|
end
|
||||||
|
puts "______________awsbucketaddress: #{Settings.image.host}"
|
||||||
|
puts "______________awsbucketaddress: #{Settings.image&.host}"
|
||||||
@profile.update_attributes(params[:profile])
|
@profile.update_attributes(params[:profile])
|
||||||
json_saved @profile, 'Profile updated'
|
json_saved @profile, 'Profile updated'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue