adapt asset handling

This commit is contained in:
Joerg Reichert 2020-02-29 18:03:44 +01:00
parent f027a0203b
commit ea13abc7c4
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
// JS and CSS bundles
//
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
// Images and fonts so that views can link to them
//
//= link_tree ../images

View file

@ -6,4 +6,4 @@ Rails.application.config.assets.version = '1.0'
# Precompile additional assets. # Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js ) # Rails.application.config.assets.precompile += %w( search.js )
Rails.application.config.assets.precompile += %w( geo.js ) # Rails.application.config.assets.precompile += %w( geo.js )