From c9a13bb50b795b9b00b0707a99f9632d07944a77 Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 31 May 2022 09:08:14 +0100 Subject: [PATCH] Authenticate user for index orgs page --- app/controllers/organisations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/organisations_controller.rb b/app/controllers/organisations_controller.rb index 9c9238273..921953779 100644 --- a/app/controllers/organisations_controller.rb +++ b/app/controllers/organisations_controller.rb @@ -3,7 +3,7 @@ class OrganisationsController < ApplicationController include Modules::CaseLogsFilter include Modules::SearchFilter - before_action :authenticate_user!, except: [:index] + before_action :authenticate_user! before_action :find_resource, except: [:index] before_action :authenticate_scope!