diff options
| author | Teddy Wing | 2018-03-14 11:02:42 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-03-23 17:16:43 +0100 |
| commit | 1b1d9f015d9b416a638f699981f2c83fcf87f641 (patch) | |
| tree | d292dd3b1e1792c9e7cedc3b29735f9537b52c5e /app/javascript/journey_patterns | |
| parent | 504e2864a494aa6767da95892dd14ce0b567e2cf (diff) | |
| download | chouette-core-1b1d9f015d9b416a638f699981f2c83fcf87f641.tar.bz2 | |
Route#duplicate: Use `#slice!` instead of `#slice`
Johan suggested simplifying this method by changing the `slice` call:
http://api.rubyonrails.org/classes/Hash.html#method-i-slice-21
I had modified this to fix the whitespace while working on the `WayCost`
calculation function for `Chouette::Route`s, so don't really have a
brain cache hit on this code, but the change makes sense and seems to
work.
Refs #6095
Diffstat (limited to 'app/javascript/journey_patterns')
0 files changed, 0 insertions, 0 deletions
