fixed some bugs, added seed data, changed login to use username + styled login/register page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user