From 9f4cec3117f01ae3ba887dd026ae43d56ca9eb7e Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Fri, 5 Jul 2013 17:03:01 +0200 Subject: [PATCH] Fix #1433 by adding login and print stylesheets to asset pipeline --- config/application.rb | 3 +++ 1 file changed, 3 insertions(+) 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']