Commit Graph

3 Commits (37a9c484295f2fb8eb4367fede85b233f7223dd9)

Author SHA1 Message Date
trwnh 9d3cf4d9d4 Make account endorsements idempotent (fix ) ()
* Make account endorsements idempotent (fix )

* 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
Eugen Rochko 9619521459 Remove useless `respond_to` calls () 2020-03-06 01:29:38 +01:00
Eugen Rochko 6e3cb11f3c Public profile endorsements (accounts picked by profile owner) () 2018-08-09 09:56:53 +02:00