Organise with layouts
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-15 08:44:08 +01:00
parent 54b25a061e
commit caa45332b0
13 changed files with 61 additions and 47 deletions

View File

@@ -3,14 +3,16 @@ class ContestsController < ApplicationController
def index
@contests = current_user.contests
@user = current_user
@title = "Welcome #{current_user.username}!"
end
def show
@title = "Contest: #{@contest.name}"
end
def new
@contest = Contest.new
@title = "Create a new jigsaw puzzle competition"
end
def create