Logo
Explore Help
Register Sign In
tarrien/Mastodon
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
476e74b4c4f967884be120fb75b87f232962103d
Mastodon/app/controllers
T
History
trwnhGitHubYamagishi Kazutoshi
89e1974f30 Make account endorsements idempotent (fix #19045) (#20118)
* 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>
2022-11-08 16:39:15 +01:00
..
activitypub
…
admin
…
api
Make account endorsements idempotent (fix #19045) (#20118)
2022-11-08 16:39:15 +01:00
auth
…
concerns
…
disputes
…
filters
…
oauth
…
settings
…
well_known
…
about_controller.rb
…
accounts_controller.rb
…
application_controller.rb
…
authorize_interactions_controller.rb
…
custom_css_controller.rb
…
emojis_controller.rb
…
filters_controller.rb
…
follower_accounts_controller.rb
…
following_accounts_controller.rb
…
health_controller.rb
…
home_controller.rb
…
instance_actors_controller.rb
…
intents_controller.rb
…
invites_controller.rb
…
manifests_controller.rb
…
media_controller.rb
…
media_proxy_controller.rb
…
privacy_controller.rb
…
relationships_controller.rb
…
shares_controller.rb
…
statuses_cleanup_controller.rb
…
statuses_controller.rb
…
tags_controller.rb
…
Powered by Gitea Version: 1.27.0 Page: 2542ms Template: 118ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API