From 6ec4a89907151d5151a93ac1ead9d890b9c83084 Mon Sep 17 00:00:00 2001 From: sto Date: Mon, 24 Nov 2025 09:57:30 +0100 Subject: [PATCH] Add title on new sessions --- app/controllers/sessions_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 6a56fd7..470ae23 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -4,6 +4,7 @@ class SessionsController < ApplicationController before_action :skip_authorization def new + @title = "Puzzle scoreboard" end def create @@ -11,6 +12,7 @@ class SessionsController < ApplicationController start_new_session_for user redirect_to after_authentication_url, notice: t("sessions.new.notice") else + @title = "Puzzle scoreboard" redirect_to new_session_path, alert: "Try another email address or password." end end