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

@ -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']