Puts AWS config
This commit is contained in:
parent
dd90261d74
commit
be98ec94b7
2 changed files with 1 additions and 1 deletions
|
@ -47,6 +47,7 @@ class ProfilesController < ApplicationController
|
||||||
@profile = current_user.profile
|
@profile = current_user.profile
|
||||||
end
|
end
|
||||||
@profile.update_attributes(params[:profile])
|
@profile.update_attributes(params[:profile])
|
||||||
|
puts Settings.image&.host
|
||||||
json_saved @profile, 'Profile updated'
|
json_saved @profile, 'Profile updated'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,3 @@ AWS.config({
|
||||||
|
|
||||||
s3 = AWS::S3.new
|
s3 = AWS::S3.new
|
||||||
S3Bucket = s3.buckets[Settings.aws.bucket]
|
S3Bucket = s3.buckets[Settings.aws.bucket]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue