diff --git a/Gemfile b/Gemfile index 4073c54..8abcdac 100644 --- a/Gemfile +++ b/Gemfile @@ -32,7 +32,6 @@ gem 'bootsnap', '>= 1.1.0', require: false gem 'devise' gem 'devise_token_auth' - gem 'rack-cors' # Interactors diff --git a/app/models/match.rb b/app/models/match.rb index 0c5fc23..1a80f4e 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -15,7 +15,7 @@ class Match < ApplicationRecord elsif score_team2 < score_team1 :team1_won else - group_match? ? :undecided : :in_progress + group_match? ? :undecided : :in_progress end end