Merge pull request #188 from maddentim/fixes-mobile

Fix #1438 by adding mobile stylesheets to asset pipeline
This commit is contained in:
Matt Rogers 2013-07-18 13:27:38 -07:00
commit a27f4f1dd4

View file

@ -59,7 +59,7 @@ module Tracksapp
config.assets.paths << Rails.root.join("app", "assets", "swfs")
# add print and login css to assets
config.assets.precompile += %w(login.css print.css)
config.assets.precompile += %w(login.css print.css mobile.css)
# configure Tracks to handle deployment in a subdir
config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']