aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/lines_controller.rb
diff options
context:
space:
mode:
authorXinhui2017-06-28 17:20:23 +0200
committerXinhui2017-06-28 17:20:23 +0200
commitbed9795be0bb85d7c8c311fe4ee0fb12e46832b4 (patch)
tree18459aa9dcb81821a88f2acdf9ba72cee9be5616 /app/controllers/lines_controller.rb
parent641b1458236d2718a76ffaf0c04a5998623276bf (diff)
parentb260c832c8e129dbeacfe065d01bd0732dd80701 (diff)
downloadchouette-core-bed9795be0bb85d7c8c311fe4ee0fb12e46832b4.tar.bz2
Merge branch 'master' into staging
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