test/dummy/config/application.rb in attachs-0.3.5 vs test/dummy/config/application.rb in attachs-0.4.0
- old
+ new
@@ -16,15 +16,9 @@
# config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
- I18n.enforce_available_locales = false
-
- config.attachs.default_presets = :small
- config.attachs.presets = {
- small: { method: :fit, width: 120, height: 120 },
- big: { method: :fill, width: 1024, height: 768 }
- }
+ I18n.enforce_available_locales = false
end
end