Commit 1661899b authored by Vanessa Silva's avatar Vanessa Silva
Browse files

Rubocop fixed

parent 1de09ff3
Pipeline #41754 passed with stage
in 2 minutes and 36 seconds
......@@ -20,11 +20,10 @@ class LikesController < ApplicationController
Match.create(user_one: @got_liked_user, user_two: current_user)
end
def likes_mutually
@got_liked_user = User.find_by(id: like_params[:liked_user_id])
true if @got_liked_user.liked_users.include?(current_user)
true if @got_liked_user.liked_users.include?(current_user)
end
def like_params
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment