summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/node.rb b/app/models/node.rb
index 4ebb3a7..3733225 100644
--- a/app/models/node.rb
+++ b/app/models/node.rb
@@ -41,7 +41,7 @@ class Node < ActiveRecord::Base
41 when -1 41 when -1
42 return node.head 42 return node.head
43 else 43 else
44 return node.pages.find_by_revision revision 44 return node.pages.find_by_revision( revision )
45 end 45 end
46 end 46 end
47 47