about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorNaouak <tardiel@gmail.com>2017-04-15 22:47:48 +0200
committerEugen <eugen@zeonfederated.com>2017-04-15 22:47:48 +0200
commit3d3e32befb369f8c6a9f3ac1ee48bce3d266f4b8 (patch)
tree8c0e2cee6e27904802ef764b190a5f0e7db7e49f /config
parentfa08b5079d7f85c098ee9c6a0dd73bde0a20989f (diff)
Check for a custom css file to help customization of instances (#1368)
* User can create a custom.scss to customize their instance without modifying gitted files.

* Add documentation for customization.

* Forgot the helper file

* Fix Style to pass codeclimate

* Requests from maintainer.
Diffstat (limited to 'config')
-rwxr-xr-x[-rw-r--r--]config/initializers/assets.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index 43f7860cb..e6bd8a015 100644..100755
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -8,5 +8,6 @@ Rails.application.config.assets.version = '1.0'
 
 # Precompile additional assets.
 # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-Rails.application.config.assets.precompile += %w(application_public.js)
+Rails.application.config.assets.precompile += %w(application_public.js custom.css)
+
 Rails.application.config.assets.initialize_on_precompile = true