Skip to content

Commit

Permalink
fix: rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Oct 29, 2024
1 parent 2e1de94 commit ae54ebb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/tpi/sectors_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ae54ebb

Please sign in to comment.