aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorThomas Haddad2017-05-10 14:00:09 +0200
committerThomas Haddad2017-05-10 14:00:09 +0200
commit319ec987d5db94db0e3b373501bd33cb8cb7da7a (patch)
tree04a96d4c98394f53de26436a57029fc8cddcae96 /app
parentb4565d58768b16dff30ad0453053b28e19fafbc8 (diff)
downloadchouette-core-319ec987d5db94db0e3b373501bd33cb8cb7da7a.tar.bz2
Refs #3311: Disable turbolinks in header link to vehicle journeys
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/routes/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index 2bdf78119..bc69e35e9 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -10,7 +10,7 @@
.col-lg-12.text-right
= link_to t('journey_patterns.index.title'), [@referential, @line, @route, :journey_patterns_collection], class: 'btn btn-primary'
- if @route.journey_patterns.present?
- = link_to t('vehicle_journeys.actions.index'), [@referential, @line, @route, :vehicle_journeys], class: 'btn btn-primary'
+ = link_to t('vehicle_journeys.actions.index'), [@referential, @line, @route, :vehicle_journeys], data: {turbolinks: false}, class: 'btn btn-primary'
= link_to t('vehicle_journey_exports.new.title'), referential_line_route_vehicle_journey_exports_path(@referential, @line, @route, format: :zip), class: 'btn btn-primary'