mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-25 14:46:46 +00:00
89e1974f30
* Make account endorsements idempotent (fix #19045) * Accept suggestion to use exists? instead of find_by + nil check Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh> * fix logic (unless, not if) * switch to using `find_or_create_by!` Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh> |
||
---|---|---|
.. | ||
credentials_controller.rb | ||
familiar_followers_controller.rb | ||
featured_tags_controller.rb | ||
follower_accounts_controller.rb | ||
following_accounts_controller.rb | ||
identity_proofs_controller.rb | ||
lists_controller.rb | ||
lookup_controller.rb | ||
notes_controller.rb | ||
pins_controller.rb | ||
relationships_controller.rb | ||
search_controller.rb | ||
statuses_controller.rb |