From ae54ebb47894490dc2d913588c5a65245ce724e7 Mon Sep 17 00:00:00 2001 From: martintomas Date: Tue, 29 Oct 2024 11:36:39 +0100 Subject: [PATCH] fix: rubocop offenses --- app/controllers/tpi/sectors_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/tpi/sectors_controller.rb b/app/controllers/tpi/sectors_controller.rb index 9a79a1640..f21911073 100644 --- a/app/controllers/tpi/sectors_controller.rb +++ b/app/controllers/tpi/sectors_controller.rb @@ -98,7 +98,9 @@ def user_download end def user_download_methodology - file_path = Rails.root.join('public', 'static_files', 'TPI’s methodology report. Management Quality and Carbon Performance.pdf') + file_path = Rails.root.join( + 'public', 'static_files', 'TPI’s methodology report. Management Quality and Carbon Performance.pdf' + ) send_file file_path, type: 'application/pdf', disposition: 'attachment' end