This project is archived and is in readonly mode.
Changeset [0e5ee9af48f11201a3b06fb3f5a50144224ec9e8] 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...
Committed by Piotr Sarnacki
- M actionpack/lib/action_controller/railties/paths.rb
- M railties/test/railties/engine_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>