fix ajax action access, dont use delayed for model_solutions

This commit is contained in:
Karol
2020-10-06 16:42:09 +02:00
committed by dependabot-preview[bot]
parent c9b6b213f4
commit 6e11f29fdf
3 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,7 @@ class ExercisesController < ApplicationController
before_action :set_file_types, only: %i[create edit new update]
before_action :set_course_token, only: [:implement]
skip_before_action :verify_authenticity_token, only: %i[import_exercise import_uuid_check export_external_confirm]
skip_before_action :verify_authenticity_token, only: %i[import_exercise import_uuid_check export_external_confirm export_external_check]
skip_after_action :verify_authorized, only: %i[import_exercise import_uuid_check export_external_confirm]
skip_after_action :verify_policy_scoped, only: %i[import_exercise import_uuid_check export_external_confirm], raise: false