From 7b9a454cb627992321ec4625089f964aa1b140f5 Mon Sep 17 00:00:00 2001 From: Malaber Date: Mon, 10 Mar 2025 11:49:51 +0100 Subject: [PATCH] Fix syntax in tournaments_controller.rb --- app/controllers/tournaments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index 19cb4ce..88c4de8 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class TournamentsController < ApplicationController - before_action :set_tournament, only: %i[show update destroy set_timer_end, timer_end] + before_action :set_tournament, only: %i[show update destroy set_timer_end timer_end] before_action :authenticate_user!, only: %i[create update destroy set_timer_end] before_action -> { require_owner! @tournament.owner }, only: %i[update destroy set_timer_end] before_action :validate_create_params, only: %i[create]