class LikesReflex < ApplicationReflex
def like
business = Business.find(element.dataset[:id])
business.likes.find_or_create_by(user: current_user)
......
i need help to set the likeReflex controller . i want login users to like business and add them to thier user.likes
business/show.html.erb
i need help to set the likeReflex controller .
i want login users to like business and add them to thier user.likes