aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/journey_patterns
diff options
context:
space:
mode:
authorTeddy Wing2018-03-15 11:52:16 +0100
committerLuc Donnet2018-03-23 17:16:43 +0100
commitc0eac353d764f97b6845a0defad5ded1824549b7 (patch)
tree87c0068e09efacf06a3b87645032fd25872e168e /app/javascript/journey_patterns
parent1b1d9f015d9b416a638f699981f2c83fcf87f641 (diff)
downloadchouette-core-c0eac353d764f97b6845a0defad5ded1824549b7.tar.bz2
Route: Don't run `#calculate_costs!` on callback if TomTom disabled
We say `TomTom` is disabled when no API key is present. If this is the case, the `after_save` callback that uses it shouldn't be executed. I had to change my `API_KEY` constant to an instance variable to be able to change it for testing. Refs #6095
Diffstat (limited to 'app/javascript/journey_patterns')
0 files changed, 0 insertions, 0 deletions