mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Fix #1433 by adding login and print stylesheets to asset pipeline
This commit is contained in:
parent
9522a611cd
commit
9f4cec3117
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,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']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue