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

This commit is contained in:
Mike Kelley
2011-08-27 02:34:18 -06:00
parent 17fee3c6d5
commit 14d7aa9772
8 changed files with 111 additions and 44 deletions

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