forked from OpenNeo/impress
Remove unused SwfAsset#images
method
I think this used to be used in an API endpoint we've now deleted? I'm just cleaning up call sites because I intend to refactor the `urls` method and stuff, so I'm removing cruft that would complicate it! I'm not certain-certain this is unused, but I did a global search for `\bimages\b` in the codebase, and didn't find anything that looked like a match to me!
This commit is contained in:
parent
b7f4c5b6ac
commit
f8cf8165df
1 changed files with 0 additions and 4 deletions
|
@ -51,10 +51,6 @@ class SwfAsset < ApplicationRecord
|
|||
"https://impress-asset-images.openneo.net/#{image_dir}/#{size_key}.png?" +
|
||||
"#{image_version}"
|
||||
end
|
||||
|
||||
def images
|
||||
IMAGE_SIZES.values.map { |size| {:size => size, :url => image_url(size)} }
|
||||
end
|
||||
|
||||
attr_accessor :item
|
||||
|
||||
|
|
Loading…
Reference in a new issue