mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
afb053b4d3
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. |
||
---|---|---|
.. | ||
alternate_helpers | ||
bad_customers | ||
blog_public | ||
comments | ||
custom_pattern | ||
customers | ||
db_definitions | ||
developers | ||
filter_test/implicit_actions | ||
fun | ||
functional_caching | ||
games | ||
good_customers | ||
happy_path/render_action | ||
helpers | ||
helpers1_pack | ||
helpers2_pack | ||
layout_tests | ||
layouts | ||
localized | ||
mascots | ||
multipart | ||
old_content_type | ||
override/test | ||
override2/layouts/test | ||
post_test | ||
projects | ||
public | ||
quiz/questions | ||
replies | ||
respond_to | ||
respond_with | ||
routes | ||
scope/test | ||
session_autoload_test/session_autoload_test | ||
star_star_mime | ||
symlink_parent | ||
test | ||
topics | ||
translations/templates | ||
_top_level_partial.html.erb | ||
_top_level_partial_only.erb | ||
companies.yml | ||
company.rb | ||
developer.rb | ||
developers.yml | ||
developers_projects.yml | ||
hello.html | ||
mascot.rb | ||
mascots.yml | ||
plain_text.raw | ||
plain_text_with_characters.raw | ||
project.rb | ||
projects.yml | ||
replies.yml | ||
reply.rb | ||
shared.html.erb | ||
topic.rb | ||
topics.yml | ||
with_format.json.erb |