Skip to content

Commit

Permalink
Fix: 投稿がメディアを持っているかの判定条件で、Rubyのコードを通さないよう改善
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Dec 9, 2023
1 parent 0ed5577 commit 4f3dae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def distributable?
alias sign? distributable?

def with_media?
ordered_media_attachments.any?
media_attachments.any?
end

def expired?
Expand Down

0 comments on commit 4f3dae5

Please sign in to comment.