Turn off name mangling to make DI more natural in angular - https://shellycloud.com/blog/2013/10/how-to-integrate-angularjs-with-rails-4

This commit is contained in:
Rohan Mitchell
2014-01-08 16:45:21 +11:00
parent a67cea3fcd
commit 39c2803493

View File

@@ -45,6 +45,8 @@ Openfoodnetwork::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
config.assets.js_compressor = Uglifier.new(mangle: false)
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false