diff options
| author | Alban Peignier | 2016-12-26 08:19:44 +0100 |
|---|---|---|
| committer | Alban Peignier | 2016-12-26 08:19:44 +0100 |
| commit | 28be322127478599c138a08e818db37fd5f3cd25 (patch) | |
| tree | 9ff13c4c9717d14046e0490e34563e77fdf2e5c0 | |
| parent | b16c81077bc898f92e8c031d0c16ec0ad1bb099a (diff) | |
| download | chouette-core-28be322127478599c138a08e818db37fd5f3cd25.tar.bz2 | |
Remove routes section in lines/show. Refs #1883
| -rw-r--r-- | app/views/lines/show.html.slim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/lines/show.html.slim b/app/views/lines/show.html.slim index 12c3e10df..7aeb78033 100644 --- a/app/views/lines/show.html.slim +++ b/app/views/lines/show.html.slim @@ -129,9 +129,4 @@ li = link_to t('lines.actions.destroy'), line_referential_line_path(@line_referential, @line), method: :delete, :data => {:confirm => t('lines.actions.destroy_confirm')}, class: 'remove' - - if !@line.hub_restricted? || (@line.hub_restricted? && @line.routes.size < 2) - / FIXME #825 - li - / = link_to t('routes.actions.new'), new_referential_line_route_path(@referential, @line), class: 'add' - = creation_tag(@line) |
