mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add Style/WordArray at rubocop.yml #1463
This commit is contained in:
parent
5bb52f24a5
commit
6cb11ff2f3
6 changed files with 8 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class EventUser < ActiveRecord::Base
|
||||
# TODO Do we need these roles?
|
||||
ROLES = [['Speaker', 'speaker'], ['Submitter', 'submitter'], ['Moderator', 'moderator']]
|
||||
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
|
||||
|
||||
belongs_to :event
|
||||
belongs_to :user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue