diff options
| author | Robert | 2017-05-18 16:59:11 +0200 |
|---|---|---|
| committer | Robert | 2017-05-18 18:42:22 +0200 |
| commit | f17c8bf33d42e46f7e8e1ffc7f8f63e6e50d5be8 (patch) | |
| tree | e3d3bc23f54df26466efd993b0c27618422eaaa2 /app | |
| parent | bfec2b6e73747193052639ee2bbf4340409510dc (diff) | |
| download | chouette-core-f17c8bf33d42e46f7e8e1ffc7f8f63e6e50d5be8.tar.bz2 | |
Refs: #3144; all policies in view speced
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 1 |
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' |
