Fix nil for @execution_environments

This commit is contained in:
Sebastian Serth
2021-11-09 19:25:00 +01:00
parent 3608856397
commit f577fed03c

View File

@ -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]