aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorRobert2017-05-18 16:59:11 +0200
committerRobert2017-05-18 18:42:22 +0200
commitf17c8bf33d42e46f7e8e1ffc7f8f63e6e50d5be8 (patch)
treee3d3bc23f54df26466efd993b0c27618422eaaa2 /app
parentbfec2b6e73747193052639ee2bbf4340409510dc (diff)
downloadchouette-core-f17c8bf33d42e46f7e8e1ffc7f8f63e6e50d5be8.tar.bz2
Refs: #3144; all policies in view speced
Diffstat (limited to 'app')
-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'