aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/routes
diff options
context:
space:
mode:
authorThomas Haddad2017-05-31 16:45:19 +0200
committerThomas Haddad2017-05-31 16:45:58 +0200
commitc48ba9fc153e2b03b5eb02bc9df4e307e64fbc0a (patch)
treeb4eacf795da9d5711415fc78298748f0b1794715 /app/views/routes
parent57771cd083c14cb915445bd8f2ca96b8c0035f2a (diff)
downloadchouette-core-c48ba9fc153e2b03b5eb02bc9df4e307e64fbc0a.tar.bz2
Refs #3627: Farewell turbolinks
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'app/views/routes')
-rw-r--r--app/views/routes/show.html.slim6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index d994e3861..6d2d4e90d 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -3,15 +3,15 @@
@route.name,
'Lorem ipsum dolor sit amet',
t('last_update', time: l(@route.updated_at, format: :short)),
- (policy(@route).edit? ? link_to(t('actions.edit'), edit_referential_line_route_path(@referential, @line, @route), data: {turbolinks: false}, class: 'btn btn-default') : '') do
+ (policy(@route).edit? ? link_to(t('actions.edit'), edit_referential_line_route_path(@referential, @line, @route), class: 'btn btn-default') : '') do
/ Below is secundary actions & optional contents (filters, ...)
.row.mb-sm
.col-lg-12.text-right
- if @route_sp.any?
- = link_to t('journey_patterns.index.title'), [@referential, @line, @route, :journey_patterns_collection], data: {turbolinks: false}, class: 'btn btn-primary'
+ = 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], data: {turbolinks: false}, class: 'btn btn-primary'
+ = link_to t('vehicle_journeys.actions.index'), [@referential, @line, @route, :vehicle_journeys], 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'