Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix asset tags for files with more than one dot | Piotr Sarnacki | 2012-06-07 | 2 | -0/+0 |
| | | | | | | | | | | | | | | | After the fix done in 39f9f02a, there are cases that will not work correctly. If you have file with "2 extensions", like foo.min.js and you reference the file without extension, like: javascript_include_tag "foo.min" it will fail because sprockets finds foo.min.js with foo.min argument. This commit fixes this case and will get the right file even when referrencing it without extension. (closes #6598) | ||||
* | Assets: don't add extension if other given and file exists | Sergey Nartimov | 2012-05-21 | 1 | -0/+0 |
| | | | | | | | | | | | | | | We should lookup if asset without appended extension exists. When sprockets are disabled the asset tag helpers incorporate this logic. When sprockets are enabled we should have the same logic. For example, we have style.ext file in app/assets/stylesheets and we use stylesheet_link_tag in the layout. In this case we should have /assets/style.ext instead of /assets/style.ext.css in the output. Closes #6310 | ||||
* | Add font_path helper method | Santiago Pastorino | 2012-01-03 | 2 | -0/+0 |
| | |||||
* | Add tests for alternate asset prefix/environment | Sam Pohlenz | 2011-07-01 | 1 | -0/+1 |
| | |||||
* | Allow multiple sources in Sprockets helpers | Guillermo Iguaran | 2011-06-05 | 2 | -0/+0 |
| | |||||
* | Add debug_asset support | Joshua Peek | 2011-05-22 | 2 | -0/+2 |
| | |||||
* | All assets, including images, audio, and video, now uses the asset pipeline ↵ | David Heinemeier Hansson | 2011-04-19 | 1 | -0/+0 |
| | | | | when its on | ||||
* | Seperate asset directories | Joshua Peek | 2011-03-29 | 6 | -0/+0 |
| | |||||
* | Tests for SprocketsHelper | Joshua Peek | 2011-03-29 | 6 | -0/+0 |