From f577fed03c96eb2fe4d6ba5bfc86ba2f4018a666 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 9 Nov 2021 19:25:00 +0100 Subject: [PATCH] Fix nil for @execution_environments --- app/controllers/exercises_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/exercises_controller.rb b/app/controllers/exercises_controller.rb index baa6d8ae..5405211b 100644 --- a/app/controllers/exercises_controller.rb +++ b/app/controllers/exercises_controller.rb @@ -7,7 +7,7 @@ class ExercisesController < ApplicationController include TimeHelper before_action :handle_file_uploads, only: %i[create update] - before_action :set_execution_environments, only: %i[create edit new update] + before_action :set_execution_environments, only: %i[index create edit new update] before_action :set_exercise_and_authorize, only: MEMBER_ACTIONS + %i[clone implement working_times intervention search run statistics submit reload feedback requests_for_comments study_group_dashboard export_external_check export_external_confirm]