diff --git a/config/application.rb b/config/application.rb index 9fa5fb38..ea5bb2b9 100644 --- a/config/application.rb +++ b/config/application.rb @@ -57,6 +57,9 @@ module Tracksapp # add /app/assets/swfs to asset pipeline for charts config.assets.paths << Rails.root.join("app", "assets", "swfs") + + # add print and login css to assets + config.assets.precompile += %w(login.css print.css) # configure Tracks to handle deployment in a subdir config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']