diff options
| author | Teddy Wing | 2017-09-01 16:51:02 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-09-01 17:22:47 +0200 |
| commit | df64a6dcbc38cefe41c74bcb1d2d166d13711b23 (patch) | |
| tree | f5f047eb968cc4a7c3d5e3fc4b0ce15f2717f22e /spec/helpers/help_helper_spec.rb | |
| parent | e115d2cf86c285f66af37aa8ca66d63eb4144294 (diff) | |
| download | chouette-core-df64a6dcbc38cefe41c74bcb1d2d166d13711b23.tar.bz2 | |
Revert "TableBuilderHelper::Column#link_to: Allow arbitrary number of arguments"
This reverts commit 28db706443a912e8355e4c48488dc40c403e7f76.
Turns out we didn't need to be able to pass an arbitrary number of
arguments to the lambda after all. The URL helper objects necessary in
addition to the first argument to the lambda can be retrieved from the
view context directly instead of passing them into the block as
parameters (which would actually make things more difficult, because the
block is called in the `TableBuilderHelper`, thus outside the scope of
the view).
Diffstat (limited to 'spec/helpers/help_helper_spec.rb')
0 files changed, 0 insertions, 0 deletions
