Fix #1433 by adding login and print stylesheets to asset pipeline

This commit is contained in:
Reinier Balt 2013-07-05 17:03:01 +02:00
parent 9522a611cd
commit 9f4cec3117

View file

@ -58,6 +58,9 @@ module Tracksapp
# add /app/assets/swfs to asset pipeline for charts # add /app/assets/swfs to asset pipeline for charts
config.assets.paths << Rails.root.join("app", "assets", "swfs") 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 # configure Tracks to handle deployment in a subdir
config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir'] config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']