summaryrefslogtreecommitdiff
path: root/app/models/node.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-22 13:23:38 +0100
committerhukl <contact@smyck.org>2009-02-22 13:23:38 +0100
commit51e91975cbfb81de40f2b8dd0ddada84b0c93ae6 (patch)
tree9c88fbcc1408814a4470590c4adc15feba487227 /app/models/node.rb
parentc39eb1e9839664deb68b50b2a9db16770d42852c (diff)
created route for home page, removed rails index.html
Diffstat (limited to 'app/models/node.rb')
-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 a6e3867..c99143f 100644
--- a/app/models/node.rb
+++ b/app/models/node.rb
@@ -24,7 +24,7 @@ class Node < ActiveRecord::Base
24 unless revision.class == Fixnum 24 unless revision.class == Fixnum
25 raise ArgumentError, "revision must be a Fixnum" 25 raise ArgumentError, "revision must be a Fixnum"
26 end 26 end
27 27
28 node = Node.find_by_unique_name(path) 28 node = Node.find_by_unique_name(path)
29 29
30 if node 30 if node