From bcbef05324c16c65c037b1cfe7861fb3f26bb005 Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 4 Oct 2024 11:03:17 +0100 Subject: [PATCH] Everyone should be able to download mandatory resources --- app/controllers/collection_resources_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/collection_resources_controller.rb b/app/controllers/collection_resources_controller.rb index 7b957133f..f23926f7a 100644 --- a/app/controllers/collection_resources_controller.rb +++ b/app/controllers/collection_resources_controller.rb @@ -1,7 +1,7 @@ class CollectionResourcesController < ApplicationController include CollectionResourcesHelper - before_action :authenticate_user! + before_action :authenticate_user!, except: %i[download_mandatory_collection_resource] def index render_not_found unless current_user.support?