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
|
@ -52,10 +52,6 @@ class SwfAsset < ApplicationRecord
|
||||||
"#{image_version}"
|
"#{image_version}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def images
|
|
||||||
IMAGE_SIZES.values.map { |size| {:size => size, :url => image_url(size)} }
|
|
||||||
end
|
|
||||||
|
|
||||||
attr_accessor :item
|
attr_accessor :item
|
||||||
|
|
||||||
has_one :contribution, :as => :contributed, :inverse_of => :contributed
|
has_one :contribution, :as => :contributed, :inverse_of => :contributed
|
||||||
|
|
Loading…
Reference in a new issue