Skip to content

Commit 8002a1e

Browse files
authored
Merge pull request #1456 from PRX/feat/person-tag-add-editor
add editor role to people
2 parents c69e778 + b9d3f2f commit 8002a1e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/models/person.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Person < ApplicationRecord
2-
enum :role, %w[host producer guest].to_enum_h, prefix: true, allow_nil: true
2+
enum :role, %w[editor host producer guest].to_enum_h, prefix: true, allow_nil: true
33

44
belongs_to :owner, -> { with_deleted }, polymorphic: true, optional: true, touch: true
55

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ en:
469469
organization: Organization
470470
role: Role
471471
roles:
472+
editor: Editor
472473
guest: Guest
473474
host: Host
474475
producer: Producer

0 commit comments

Comments
 (0)