Autocorrect Rails/EnumSyntax
This commit is contained in:
parent
5e439aa07b
commit
5b49af7559
4 changed files with 4 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ class Conference < ApplicationRecord
|
|||
after_create :create_free_ticket
|
||||
after_update :delete_event_schedules
|
||||
|
||||
enum ticket_layout: [:portrait, :landscape]
|
||||
enum :ticket_layout, [:portrait, :landscape]
|
||||
|
||||
##
|
||||
# Checks if the user is registered to the conference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue