From 137ca2175ef939dc80d05da7e103aea8463a4dea Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Tue, 20 Nov 2018 14:01:32 +0100 Subject: [PATCH] Rubocop --- Gemfile | 1 - app/models/match.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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