Commit d9ae2e6f authored by Valery Sizov's avatar Valery Sizov

Fix spec/features/groups/members/owner_manages_access_requests_spec.rb

parent 5e52fb51
......@@ -9,9 +9,9 @@ module MembershipActions
end
def approve_access_request
Members::ApproveAccessRequestService.new(membershipable, current_user, params).execute
member = Members::ApproveAccessRequestService.new(membershipable, current_user, params).execute
log_audit_event(@member, action: :create)
log_audit_event(member, action: :create)
redirect_to polymorphic_url([membershipable, :members])
end
......
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