From 744123da8eb36014f9acefc5f4a970d15d32924b Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 2 May 2009 18:43:44 +0200 Subject: fix for parenthesis warning --- app/models/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') 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 when -1 return node.head else - return node.pages.find_by_revision revision + return node.pages.find_by_revision( revision ) end end -- cgit v1.3