Refactor #14006
Mailers calling *_path with :only_path => false should use _url helpers
Description
All mailers that use *_path helpers and pass :only_path => false
to get a URL should be changed to use *_url helpers instead, as this is deprecated in Rails 4.2.
http://edgeguides.rubyonrails.org/4_2_release_notes.html#action-pack-deprecations
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dominic Cleal
- Pull request https://github.com/theforeman/foreman/pull/3271 added
#2
Updated by Dominic Cleal almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset eedc8706e2723530746f7c9158bf30d2940657d0.
#3
Updated by Dominic Cleal almost 5 years ago
- Legacy Backlogs Release (now unused) set to 136
#4
Updated by Dominic Cleal over 4 years ago
- Related to Refactor #15847: URL helpers must be used in mailers added
fixes #14006 - use URL helpers in mailers
Rails 4.2 deprecates mailers from using _path helpers and from path
helpers being called with only_path => false. They should all be
changed to use _url helpers.