aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/lines_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/lines_controller.rb')
-rw-r--r--app/controllers/lines_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb
index ef058e317..c4d7bffa5 100644
--- a/app/controllers/lines_controller.rb
+++ b/app/controllers/lines_controller.rb
@@ -11,6 +11,7 @@ class LinesController < BreadcrumbController
belongs_to :line_referential
def index
+ @hide_group_of_line = line_referential.group_of_lines.empty?
index! do |format|
format.html {
if collection.out_of_bounds?