Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
unoduetre committed Feb 8, 2024
1 parent 017905e commit 6216563
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/csv_preview_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ def asset_filename
asset_path.split("/").last
end

def whitehall_media_download
GdsApi.asset_manager.whitehall_media(asset_path).body
end

def media_download_truncated
@media_download_truncated ||= truncate_to_maximum_number_of_lines(
GdsApi.asset_manager.media(params[:id], params[:filename]).body,
Expand Down

0 comments on commit 6216563

Please sign in to comment.