aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/MIT-LICENSE
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-06-15 11:05:04 -0500
committerschneems <richard.schneeman@gmail.com>2016-08-29 13:16:07 -0500
commit5de741c4cd4528fd86cae1091cdea984449cc926 (patch)
treed7f1740a0258af7436131015a228a9fe963114d1 /actionpack/MIT-LICENSE
parent3fc414a019526e5584867b032a188adf15c71eac (diff)
downloadrails-5de741c4cd4528fd86cae1091cdea984449cc926.tar.gz
rails-5de741c4cd4528fd86cae1091cdea984449cc926.tar.bz2
rails-5de741c4cd4528fd86cae1091cdea984449cc926.zip
Allow a more explicit public behavior
We want to make it more explicit when a user wants to avoid the asset pipeline to do this we will add `public_*` methods to all path helpers. So if someone wants to use an asset that isn't maintained by the asset pipeline they can use `public_asset_path` instead of `asset_path` and letting it fall through. The main reason for this change is the desire to raise helpful errors in the future. Right now if you typo an asset name, then we assume you intended an asset in the `public/` folder and not in the pipeline so nothing fails and the error sits silently until you realize the page didn't render correctly. We have to deprecate today so we can raise meaningful error messages in the future.
Diffstat (limited to 'actionpack/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions