このコミットが含まれているのは:
2026-03-26 23:52:44 +09:00
コミット fb275b4763
5個のファイルの変更14行の追加16行の削除
+4
ファイルの表示
@@ -7,4 +7,8 @@ class WikiAsset < ApplicationRecord
has_one_attached :file
validates :file, presence: true
def url
Rails.application.routes.url_helpers.rails_blob_url(file, only_path: true)
end
end