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