1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures/public
Steve Klabnik afb053b4d3 Respect absolute paths in compute_source_path.
When using compute_source_path to determine the full path of an
asset, if our source begins with '/', we don't want to include
the directory. Examples are illustrative:

> compute_source_path("foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/stylesheets/foo.css"
> compute_source_path("/foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/foo.css"

Before this patch, the second example would return the same as the
first.

Fixes #5680.
2012-06-16 18:06:15 +02:00
..
elsewhere Handle missing javascript/stylesheets assets by raising an exception 2009-06-26 16:47:15 +12:00
foo Respect absolute paths in compute_source_path. 2012-06-16 18:06:15 +02:00
images
javascripts Handle missing javascript/stylesheets assets by raising an exception 2009-06-26 16:47:15 +12:00
stylesheets Handle missing javascript/stylesheets assets by raising an exception 2009-06-26 16:47:15 +12:00
.gitignore Ignore everything under test/fixtures/public/absolute 2009-07-27 17:21:52 +01:00
404.html
500.da.html Added localized rescue (404.da.html) [#1835 state:committed] 2009-02-02 17:56:22 +01:00
500.html
index.html Move Rails::Static into ActionDispatch 2009-09-26 11:37:42 -05:00