diff options
| author | hukl <contact@smyck.org> | 2009-02-22 13:23:38 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-22 13:23:38 +0100 |
| commit | 51e91975cbfb81de40f2b8dd0ddada84b0c93ae6 (patch) | |
| tree | 9c88fbcc1408814a4470590c4adc15feba487227 /app/models/node.rb | |
| parent | c39eb1e9839664deb68b50b2a9db16770d42852c (diff) | |
created route for home page, removed rails index.html
Diffstat (limited to 'app/models/node.rb')
| -rw-r--r-- | app/models/node.rb | 2 |
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 |
