This commit is contained in:
2025-07-09 06:54:19 +09:00
parent 57f3cf83ae
commit 9be4bb1532
7 changed files with 200 additions and 201 deletions
+2
View File
@@ -14,6 +14,8 @@ class Post < ApplicationRecord
Rails.application.routes.url_helpers.rails_blob_url(
thumbnail, only_path: false) :
nil })
rescue
super(options).merge(thumbnail: nil)
end
def resized_thumbnail!