Fix syntax in tournaments_controller.rb

This commit is contained in:
Daniel Schädler 2025-03-10 11:49:51 +01:00
parent 514bbb553b
commit 7b9a454cb6
1 changed files with 1 additions and 1 deletions

View File

@ -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]