job.answiz.com

I would recommend putting them in a folder called app/assets/flash.

Add this folder to your asset paths:

config.assets.paths << Rails.root.join('app', 'assets', 'flash')

They can be referenced like this in your views:

asset_path('name_of_swf')

The asset_path helper will ensure the correct file is referenced in development and production modes.

  • 0
Reply Report