diff options
author | Rikki Pitt <rikkipitt@users.noreply.github.com> | 2019-01-04 21:57:43 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2019-01-04 13:57:43 -0800 |
commit | cfe4674d3637c746cdb3c2b5131e2de498775529 (patch) | |
tree | 9b8ccedad8e90174931ebe3db056658d44ebc707 /railties/lib/rails/engine | |
parent | f2a5c1a541342a886ed3de3b9a15ce06b6bdcde5 (diff) | |
download | rails-cfe4674d3637c746cdb3c2b5131e2de498775529.tar.gz rails-cfe4674d3637c746cdb3c2b5131e2de498775529.tar.bz2 rails-cfe4674d3637c746cdb3c2b5131e2de498775529.zip |
Update tag helper routes for use in engines (#49)
When using the `rich_text_area_tag` form helper from within a Rails
engine, the direct_upload_url and blob_url_template options would
default to non-existent routes.
By prefixing these routes with `main_app` we ensure the application
root is used rather than the engine.
Diffstat (limited to 'railties/lib/rails/engine')
0 files changed, 0 insertions, 0 deletions