about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTHE BOSS ♨ <30565780+theboss@users.noreply.github.com>2017-12-09 13:59:59 +0900
committerYamagishi Kazutoshi <ykzts@desire.sh>2017-12-09 13:59:59 +0900
commit17e26f8afe962cf85f5ee25defb59905ec684eb2 (patch)
treeb1b808c19426ac8f787e4b14ce663da0a7d877da
parent2526ef10c29ea4c136ce66b251c105addcf1bf5d (diff)
Fix typo in paperclip.rb (#5936)
-rw-r--r--config/initializers/paperclip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb
index bd26c533d..8aa1d1b6e 100644
--- a/config/initializers/paperclip.rb
+++ b/config/initializers/paperclip.rb
@@ -19,7 +19,7 @@ if ENV['S3_ENABLED'] == 'true'
 
   s3_region   = ENV.fetch('S3_REGION')   { 'us-east-1' }
   s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }
-  s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}}.amazonaws.com" }
+  s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}.amazonaws.com" }
 
   Paperclip::Attachment.default_options.merge!(
     storage: :s3,