add swf to asset pipeline. Fixes #1311

This commit is contained in:
Reinier Balt 2012-07-16 17:38:44 +02:00
parent 7c1cd2a144
commit 22e166c370
5 changed files with 5 additions and 2 deletions

View file

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