diff --git a/config/environments/development.rb b/config/environments/development.rb index f626b82..c63a445 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -70,11 +70,4 @@ Rails.application.configure do # URL to fetch reviews from the Ubuntu JSON API # config.ubuntu_reviews_api_url = 'https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/en/any/any/any/%s' - - config.images_path = Rails.root.join('public', 'screenshots') - - config.image_sizes = { - large: '800x600', - small: '160x120', - } end diff --git a/config/environments/production.rb b/config/environments/production.rb index 0c32b3e..dc4295f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -108,13 +108,6 @@ Rails.application.configure do # URL to fetch reviews from the Ubuntu JSON API # config.ubuntu_reviews_api_url = 'https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/en/any/any/any/%s' - config.images_path = Rails.root.join('public', 'screenshots') - - config.image_sizes = { - large: '800x600', - small: '160x120', - } - # Any action dealing with authentication should redirect to HTTPS # Disabled because it will redirect incorrectly behind a proxy. # config.to_prepare { Devise::SessionsController.force_ssl } diff --git a/config/environments/test.rb b/config/environments/test.rb index 878fcf5..279e9ba 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -53,12 +53,6 @@ Rails.application.configure do } ] - config.images_path = Rails.root.join('public', 'screenshots') - - config.image_sizes = { - large: '800x600', - small: '160x120' - } # Raises error for missing translations # config.action_view.raise_on_missing_translations = true end