diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-12-15 09:01:18 +0100 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-16 01:49:29 +0530 |
commit | a462a76bd323ef0087ead0bf0d1792a95655975c (patch) | |
tree | 1b07d714e5275e9b82ac1aae3f2364aab3a25472 /railties/lib/rails/commands/application.rb | |
parent | 8e955c5fe4d14bec9da7978b356d5ce3ae469078 (diff) | |
download | rails-a462a76bd323ef0087ead0bf0d1792a95655975c.tar.gz rails-a462a76bd323ef0087ead0bf0d1792a95655975c.tar.bz2 rails-a462a76bd323ef0087ead0bf0d1792a95655975c.zip |
Set proper engine's asset directories when assets are served from engine.
When using stylesheet_link_tag(:all) or javascript_include_tag(:all),
assets directories are searched for css or js files. When
config.serve_static_assets is set to true, those files can be
served directly from engine's directories. That's why assets paths
should be set individually for controllers inside engine
if we want to serve static assets with ActionDispatch::Static
Diffstat (limited to 'railties/lib/rails/commands/application.rb')
0 files changed, 0 insertions, 0 deletions