This commit is contained in:
Christoph Haas 2021-02-20 21:18:55 +01:00
parent e5b867fc16
commit a8325e4833
3 changed files with 0 additions and 20 deletions

View file

@ -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

View file

@ -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 }

View file

@ -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