removed user 'donor?' method and changed default badge_id from 0 to 1

This commit is contained in:
MrYummy
2017-06-18 18:51:01 +02:00
parent d4159d886f
commit aff7deb310
3 changed files with 3 additions and 7 deletions

View File

@@ -30,10 +30,6 @@ class User < ActiveRecord::Base
self == user
end
def donor?
!!self.donor
end
def confirmed?
!!self.confirmed
end