diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-05 14:11:43 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-05 14:11:43 +0200 |
commit | 8fa725f194b129e11514c2291067576c886c3232 (patch) | |
tree | 9695f9f2a311a899a4a4342a8e17a7371876f7e2 /config/initializers/assets.rb | |
download | incommon-map-8fa725f194b129e11514c2291067576c886c3232.tar.gz |
rails new incommon-map -d postgresql -C -T
Diffstat (limited to 'config/initializers/assets.rb')
-rw-r--r-- | config/initializers/assets.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb new file mode 100644 index 0000000..4b828e8 --- /dev/null +++ b/config/initializers/assets.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path. +# Rails.application.config.assets.paths << Emoji.images_path +# Add Yarn node_modules folder to the asset load path. +Rails.application.config.assets.paths << Rails.root.join('node_modules') + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) |