Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
sobrinho committed Oct 13, 2022
1 parent 1a90af8 commit 64b8b1d
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ def attachment_for(type)
suffix = type.to_s.split('/').last
{ io: Tempfile.new('.'), filename: "test.#{suffix}", content_type: type }
end

private

def content_type_keys
if Rails.gem_version < Gem::Version.new('6.1.0')
Mime::LOOKUP.keys
else
Marcel::TYPES.keys
end
end
end
end
end

0 comments on commit 64b8b1d

Please sign in to comment.