Add contestants
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 09:19:39 +01:00
parent 658c50fd04
commit 44507bb85c
18 changed files with 145 additions and 25 deletions

View File

@@ -1,13 +1,6 @@
class PuzzlesController < ApplicationController
before_action :set_contest
before_action :set_puzzle, only: %i[ edit destroy show update]
def index
@puzzles = Puzzle.all
end
def show
end
before_action :set_puzzle, only: %i[ destroy edit update]
def edit
@title = "Edit contest puzzle"