diff --git a/app/controllers/tpi/sectors_controller.rb b/app/controllers/tpi/sectors_controller.rb index f21911073..1d8bffadc 100644 --- a/app/controllers/tpi/sectors_controller.rb +++ b/app/controllers/tpi/sectors_controller.rb @@ -98,9 +98,13 @@ 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 = if session[:enable_beta_mq_assessments] + Rails.root.join( + 'public', 'static_files', 'TPI’s methodology report. Management Quality and Carbon Performance.pdf' + ) + else + Rails.root.join('public', 'static_files', 'Methodology and Indicator Report v4.0_final draft.pdf') + end send_file file_path, type: 'application/pdf', disposition: 'attachment' end diff --git a/public/static_files/Methodology and Indicator Report v4.0_final draft.pdf b/public/static_files/Methodology and Indicator Report v4.0_final draft.pdf new file mode 100644 index 000000000..6d2fb5909 Binary files /dev/null and b/public/static_files/Methodology and Indicator Report v4.0_final draft.pdf differ