Added some localization

This commit is contained in:
2013-01-20 10:16:50 -05:00
parent a9a4cd892f
commit edb1ea204f
8 changed files with 220 additions and 15 deletions

View File

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