From b34d2b51174b511d59fa324d9f42abc75a1fa09a Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Thu, 2 Jan 2025 19:11:34 +0100 Subject: Ensure session[:id] before scoring: all tests now pass. Never too late for all tests to pass... --- app/controllers/scores_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/scores_controller.rb b/app/controllers/scores_controller.rb index 16e0e44..039f5df 100644 --- a/app/controllers/scores_controller.rb +++ b/app/controllers/scores_controller.rb @@ -1,7 +1,7 @@ class ScoresController < ApplicationController allow_unauthenticated_access before_action :set_tartiflette, only: [ :new, :create, :edit_all, :update_all ] - before_action :ensure_session_id, only: [:edit_all, :update_all] + before_action :ensure_session_id def new end -- cgit v1.2.3