mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-18 10:09:02 +02:00
add swf to asset pipeline. Fixes #1311
This commit is contained in:
parent
7c1cd2a144
commit
22e166c370
5 changed files with 5 additions and 2 deletions
|
|
@ -63,6 +63,9 @@ module Tracksapp
|
|||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
|
||||
# add /app/assets/swfs to asset pipeline for charts
|
||||
config.assets.paths << Rails.root.join("app", "assets", "swfs")
|
||||
|
||||
# configure Tracks to handle deployment in a 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