Bug #7757
ApplicationHelper#link_to passes the arguments incorrectly when a block is given
Description
It calls super(args) passing all arguments in a single array, instead of calling super with the original arguments.
Associated revisions
History
#1
Updated by Imre Farkas over 8 years ago
#2
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.7.2
- Pull request https://github.com/theforeman/foreman/pull/1810 added
- Pull request deleted (
)
#3
Updated by Imre Farkas over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset bf5920d8c967775f8a64e1e104d80e1544cdf4bd.
#4
Updated by Dominic Cleal over 8 years ago
- Legacy Backlogs Release (now unused) set to 21
Fixes #7757 - Fix link_to to call super with block
The original code calls the parent with a single argument: an array of
arguments given to the method. It should call the parent with the
original arguments.