From e631d2459864ac23c42a082c158e22a110ae1505 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 4316eae1c..ff54f875f 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?