aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_lines/show.html.slim
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/referential_lines/show.html.slim')
-rw-r--r--app/views/referential_lines/show.html.slim1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim
index 4c8b09ab2..1e24f0f15 100644
--- a/app/views/referential_lines/show.html.slim
+++ b/app/views/referential_lines/show.html.slim
@@ -22,7 +22,6 @@
span.fa.fa-trash
span = t('lines.actions.destroy')
- - require 'pry'; binding.pry
- if !@line.hub_restricted? || (@line.hub_restricted? && @line.routes.size < 2)
- if policy(Chouette::Route).create? && @referential.organisation == current_organisation
= link_to t('routes.actions.new'), new_referential_line_route_path(@referential, @line), class: 'btn btn-primary'