diff options
| author | Teddy Wing | 2017-09-01 16:04:59 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-09-01 16:04:59 +0200 |
| commit | 28db706443a912e8355e4c48488dc40c403e7f76 (patch) | |
| tree | b2eee6e7c47348ee632daed8d2edb8eaf7c7eea9 /spec/javascript | |
| parent | b546fc6ef6d406a041f5a26f5855a02b7c8d1f2c (diff) | |
| download | chouette-core-28db706443a912e8355e4c48488dc40c403e7f76.tar.bz2 | |
TableBuilderHelper::Column#link_to: Allow arbitrary number of arguments
This enables us to pass multiple objects into the lambda, so that we can
for example build a URL using a Rails helper using multiple objects.
Example:
column.link_to(referential, item)
lambda do |referential, item|
some_path(referential, item)
end
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions
