aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/lines_controller.rb
diff options
context:
space:
mode:
authorsoykje2017-06-20 12:13:48 +0200
committerGitHub2017-06-20 12:13:48 +0200
commit11404ec5f9ae443f1a2de73dc491e07b3151f4c8 (patch)
treefa45ad5284384e913d4b764db5723ec3a1cc9c29 /app/controllers/lines_controller.rb
parent041c6d8b732825dc8f84f3795e1fd63f0a30f483 (diff)
parent150e71e3110292c0c27fe35a63e8a2d0e26c5259 (diff)
downloadchouette-core-11404ec5f9ae443f1a2de73dc491e07b3151f4c8.tar.bz2
Merge pull request #22 from af83/3479-refactor-table_builder-helper
3479 refactor table builder helper
Diffstat (limited to 'app/controllers/lines_controller.rb')
-rw-r--r--app/controllers/lines_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb
index 7eedaeb05..1e2056aad 100644
--- a/app/controllers/lines_controller.rb
+++ b/app/controllers/lines_controller.rb
@@ -25,6 +25,11 @@ class LinesController < BreadcrumbController
def show
@group_of_lines = resource.group_of_lines
show! do
+ @line = @line.decorate(context: {
+ line_referential: @line_referential,
+ current_organisation: current_organisation
+ })
+
build_breadcrumb :show
end
end