diff options
author | Xavier Noria <fxn@hashref.com> | 2014-07-30 23:08:59 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-07-30 23:08:59 +0200 |
commit | bd944e078d0f40e26d66b03da1449ff9cdcc101b (patch) | |
tree | 23d3b309dd1ac152047fb38d0d3107177b7c6c8a /railties/lib/rails/engine.rb | |
parent | 30194a5b475ea91f9709f64a08e6645cedbe4cb5 (diff) | |
parent | 2bbcca004cc232cef868cd0e301f274ce5638df0 (diff) | |
download | rails-bd944e078d0f40e26d66b03da1449ff9cdcc101b.tar.gz rails-bd944e078d0f40e26d66b03da1449ff9cdcc101b.tar.bz2 rails-bd944e078d0f40e26d66b03da1449ff9cdcc101b.zip |
Merge pull request #15840 from schneems/schneems/deprecate-mailer_path_methods
Deprecate `*_path` methods in mailers
Diffstat (limited to 'railties/lib/rails/engine.rb')
-rw-r--r-- | railties/lib/rails/engine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index b36ab3d0d5..aa4f94ef1b 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -395,7 +395,7 @@ module Rails end unless mod.respond_to?(:railtie_routes_url_helpers) - define_method(:railtie_routes_url_helpers) { railtie.routes.url_helpers } + define_method(:railtie_routes_url_helpers) {|include_path_helpers = true| railtie.routes.url_helpers(include_path_helpers) } end end end |