mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Added devise migartions
This commit is contained in:
parent
61cbc38a11
commit
db4727b8f7
4 changed files with 38 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue