mirror of
https://github.com/internetee/registry.git
synced 2025-05-21 19:59:38 +02:00
Fix rubocop
This commit is contained in:
parent
a4ebb24a03
commit
5ed983fd2e
4 changed files with 5 additions and 6 deletions
|
@ -15,7 +15,7 @@ class User < ActiveRecord::Base
|
|||
|
||||
validate :validate_identity_code
|
||||
|
||||
ROLES = ['user', 'customer_service', 'admin']
|
||||
ROLES = %w(user customer_service admin)
|
||||
|
||||
def to_s
|
||||
username
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue