fixed some bugs, added seed data, changed login to use username + styled login/register page

This commit is contained in:
Mike Kelley committed 2011-08-27 02:34:18 -06:00
1 parent 17fee3c6d5
commit 14d7aa9772
8 files changed
+111 -44

No files matched your search

+1 -1
View File
@@ -16,6 +16,6 @@ class User < ActiveRecord::Base
has_many :posts, :dependent => :destroy
def admin?
true if self.username == 'codezombie'
true if self.username == 'admin'
end
end