Permalink
Browse files

Moved projects into db/projects/#{RAILS_ENV} in the hope that it's th…

…e first step to making tests possible.
  • Loading branch information...
1 parent 4128237 commit 5f04506a8e829c85869d14ffc4ac3d670b032144 @notahat committed Jun 24, 2008
Showing with 3 additions and 4 deletions.
  1. +2 −3 README.rdoc
  2. +1 −1 app/models/project.rb
View
@@ -2,12 +2,11 @@
Giki (pronounced "geeky") is a wiki built on Git (and Rails).
-Each project is stored as a directory within db/projects, and is simply a git repository
-containing a *.markdown file for each page.
+Each project is stored as a directory within db/projects/#{RAILS_ENV}, and
+is simply a git repository containing a *.markdown file for each page.
== To do
-- Move projects into db/projects/#{RAILS_ENV}
- Work out how to write tests
- View the change log for a single page
- View previous revisions of a page
View
@@ -48,6 +48,6 @@ def path
end
def self.projects_root
- "#{RAILS_ROOT}/db/projects"
+ "#{RAILS_ROOT}/db/projects/#{RAILS_ENV}"
end
end

0 comments on commit 5f04506

Please sign in to comment.