Puts AWS config

This commit is contained in:
Kasia Jarmołkowicz 2018-05-17 20:49:27 +02:00 committed by Eric Schultz
parent dd90261d74
commit be98ec94b7
2 changed files with 1 additions and 1 deletions

View file

@ -47,6 +47,7 @@ class ProfilesController < ApplicationController
@profile = current_user.profile
end
@profile.update_attributes(params[:profile])
puts Settings.image&.host
json_saved @profile, 'Profile updated'
end

View file

@ -8,4 +8,3 @@ AWS.config({
s3 = AWS::S3.new
S3Bucket = s3.buckets[Settings.aws.bucket]