projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f2ac59
)
Remove image_optim config loading override
author
Andy Allan
<git@gravitystorm.co.uk>
Wed, 28 Mar 2018 05:50:26 +0000
(13:50 +0800)
committer
Andy Allan
<git@gravitystorm.co.uk>
Wed, 28 Mar 2018 05:52:31 +0000
(13:52 +0800)
image_optim_rails loads the config files by default, and has a
built-in mechanism for per-environment configs. Forcing the config
loading in this way is unnecessary.
config/application.rb
patch
|
blob
|
history
diff --git
a/config/application.rb
b/config/application.rb
index 9ba122dafb8b1518af4930f92ceec945befff7ec..b6e2ba46788c14d6342e934f31a0364b9e83c43c 100644
(file)
--- a/
config/application.rb
+++ b/
config/application.rb
@@
-43,8
+43,5
@@
module OpenStreetMap
config.logstasher.logger_path = LOGSTASH_PATH
config.logstasher.log_controller_parameters = true
end
-
- # Configure image optimisation
- config.assets.image_optim = YAML.load_file(Rails.root.join("config", "image_optim.yml"))
end
end