This project is archived and is in readonly mode.
Changeset [0e5ee9af48f11201a3b06fb3f5a50144224ec9e8] by Piotr Sarnacki
Revision 0e5ee9af48f11201a3b06fb3f5a50144224ec9e8,
committed by Piotr Sarnacki
· December 15th, 2010 @ 09:01 AM
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
https://github.com/rails/rails/commit/0e5ee9af48f11201a3b06fb3f5a50...
2 changed files
-
M
actionpack/lib/action_controller/railties/paths.rb -
M
railties/test/railties/engine_test.rb