thirteen-tien-len/app/views/shared/_follow_form.html.haml
2023-11-21 17:19:33 +00:00

6 lines
126 B
Plaintext

#follow_form
- if current_user.following?(@followable)
= render 'shared/unfollow'
- else
= render 'shared/follow'