Added devise migartions

This commit is contained in:
Priit Tark 2015-05-20 13:48:16 +03:00
parent 61cbc38a11
commit db4727b8f7
4 changed files with 38 additions and 15 deletions

View file

@ -8,6 +8,8 @@ class AdminUser < User
ROLES = %w(user customer_service admin)
devise :database_authenticatable, :rememberable, :trackable, :validatable, :lockable
def to_s
username
end