summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorluca-marie <ml.kochsiek@fu-berlin.de>2016-09-22 16:13:42 +0200
committerluca-marie <ml.kochsiek@fu-berlin.de>2016-09-22 16:13:42 +0200
commit7c9aba4a6192617cd29765450711a65affccecef (patch)
treecbe31c6a510bbe655d7ed67e2e6ee53e9f6ae406 /config/initializers
parenta771c63ff6a04f2f80b94c35538dd62ad1b0c310 (diff)
clean up
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/customization.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/initializers/customization.rb b/config/initializers/customization.rb
index 9b3a2b9..a96564c 100644
--- a/config/initializers/customization.rb
+++ b/config/initializers/customization.rb
@@ -1,10 +1,8 @@
-#
# When deploying, common customizations can be dropped in config/customizations. This initializer makes this work.
#
APP_CONFIG["customization_directory"] ||= "#{Rails.root}/config/customization"
customization_directory = APP_CONFIG["customization_directory"]
-#
# Set customization views as the first view path
#
# Rails.application.config.paths['app/views'].unshift "config/customization/views"
@@ -21,7 +19,6 @@ customization_directory = APP_CONFIG["customization_directory"]
# * For this to work, config.assets.initialize_on_precompile MUST be set to true, otherwise
# this initializer will never get called in production mode when the assets are precompiled.
#
-# Rails.application.config.assets.paths.unshift "#{customization_directory}/stylesheets"
Rails.application.config.assets.paths.unshift "#{customization_directory}/assets"
#