Fixed wrong docstring
This commit is contained in:
parent
29af244327
commit
8b11a77817
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ class Screenshot < ApplicationRecord
|
||||||
#Digest::MD5.base64digest(Net::HTTP.get(URI(url)))
|
#Digest::MD5.base64digest(Net::HTTP.get(URI(url)))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the image variant that links to a full-size screenshot image with a watermark
|
# Returns a medium sized image
|
||||||
def medium_image
|
def medium_image
|
||||||
if self.image.attached?
|
if self.image.attached?
|
||||||
self.image.variant(
|
self.image.variant(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue