diff --git a/app/controllers/community_solutions_controller.rb b/app/controllers/community_solutions_controller.rb index c6d95254..827c9557 100644 --- a/app/controllers/community_solutions_controller.rb +++ b/app/controllers/community_solutions_controller.rb @@ -5,6 +5,7 @@ class CommunitySolutionsController < ApplicationController include RedirectBehavior include SubmissionParameters + before_action :require_user! before_action :set_community_solution, only: %i[edit update] before_action :set_community_solution_lock, only: %i[edit] before_action :set_exercise_and_submission, only: %i[edit update]