Browse Source

Everyone should be able to download mandatory resources

pull/2673/head
Kat 2 years ago
parent
commit
e631d24598
  1. 2
      app/controllers/collection_resources_controller.rb

2
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?

Loading…
Cancel
Save