From 8b11a778175b745a127ae28ada3f90336e9da2ba Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 30 Oct 2020 21:53:00 +0100 Subject: [PATCH] Fixed wrong docstring --- app/models/screenshot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/screenshot.rb b/app/models/screenshot.rb index cf9c266..927b95c 100644 --- a/app/models/screenshot.rb +++ b/app/models/screenshot.rb @@ -162,7 +162,7 @@ class Screenshot < ApplicationRecord #Digest::MD5.base64digest(Net::HTTP.get(URI(url))) end - # Returns the image variant that links to a full-size screenshot image with a watermark + # Returns a medium sized image def medium_image if self.image.attached? self.image.variant(