Unverified Commit cbaa33db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Small code improvement

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent cb9f5738
......@@ -325,7 +325,7 @@ def owned_group
def mary_jane_member
user = User.find_by(name: "Mary Jane")
owned_group.members.where(user_id: user.id).first
owned_group.members.find_by(user_id: user.id)
def assigned_to_me(key)
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