From 11087977a981cbbc3bf18dd770c42d913ce02932 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 25 May 2023 15:47:30 +0100 Subject: [PATCH] feat: add to sales, use before_action --- app/controllers/lettings_logs_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/lettings_logs_controller.rb b/app/controllers/lettings_logs_controller.rb index c4239bad4..7d352460f 100644 --- a/app/controllers/lettings_logs_controller.rb +++ b/app/controllers/lettings_logs_controller.rb @@ -114,6 +114,10 @@ class LettingsLogsController < LogsController private + def log_filter_manager + @log_filter_manager = LogsFilterManager.new(@session_filters, current_user) + end + def org_params super.merge( { "managing_organisation_id" => current_user.organisation.id },