summaryrefslogtreecommitdiff
path: root/app/controllers/nodes_controller.rb
diff options
context:
space:
mode:
authorsimon <simon@zagal.(none)>2009-02-08 20:03:36 +0100
committerhukl <hukl@eight.local>2009-02-15 20:21:51 +0100
commit957a09cf4be114ab0b76c28aa836567fb1ad44c4 (patch)
tree403cd1f1b2c9f51e190f6156d73742f4763cee13 /app/controllers/nodes_controller.rb
parent85f4a86e640fc7cb2b8ad294e550f7a800b4114f (diff)
brace for impact
oh god, oh god, we're all going to die ...
Diffstat (limited to 'app/controllers/nodes_controller.rb')
-rw-r--r--app/controllers/nodes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index 583ddf9..1baf052 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -4,6 +4,7 @@ class NodesController < ApplicationController
4 4
5 before_filter :find_node, :only => [:create, :show, :edit, :update, :destroy] 5 before_filter :find_node, :only => [:create, :show, :edit, :update, :destroy]
6 6
7
7 def index 8 def index
8 @nodes = Node.root.children.all(:include => :head) 9 @nodes = Node.root.children.all(:include => :head)
9 end 10 end
@@ -44,5 +45,4 @@ class NodesController < ApplicationController
44 def find_node 45 def find_node
45 @node = Node.find(params[:id]) 46 @node = Node.find(params[:id])
46 end 47 end
47
48end 48end