aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorAlban Peignier2016-11-20 22:02:51 +0100
committerAlban Peignier2016-11-20 22:10:33 +0100
commit9d9de3e0727eff7b585c6e9ebeb91b8f6811b893 (patch)
tree7b996e0cd8f55e75250e9aa058efbf03aa886714 /app/controllers
parent411bdcb6e0137bd022e2126911db0b17051f8be9 (diff)
downloadchouette-core-9d9de3e0727eff7b585c6e9ebeb91b8f6811b893.tar.bz2
Remove useless instance variables in LinesController. Fixes company/network DOM in lines/show
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/lines_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb
index eb38352be..ef058e317 100644
--- a/app/controllers/lines_controller.rb
+++ b/app/controllers/lines_controller.rb
@@ -22,9 +22,7 @@ class LinesController < BreadcrumbController
end
def show
- @map = LineMap.new(resource).with_helpers(self)
- @routes = @line.routes
- @group_of_lines = @line.group_of_lines
+ @group_of_lines = resource.group_of_lines
show! do
build_breadcrumb :show
end