Commit 3274cfdd authored by Nick Thomas's avatar Nick Thomas

Resolve conflict in app/controllers/concerns/membership_actions.rb

parent c620ca03
......@@ -54,17 +54,13 @@ module MembershipActions
"You left the \"#{membershipable.human_name}\" #{source_type}."
end
<<<<<<< HEAD
log_audit_event(member, action: :destroy) unless member.request?
redirect_path = member.request? ? member.source : [:dashboard, membershipable.class.to_s.tableize]
=======
respond_to do |format|
format.html do
redirect_path = member.request? ? member.source : [:dashboard, membershipable.class.to_s.tableize]
redirect_to redirect_path, notice: notice
end
>>>>>>> ce-com/master
format.json { render json: { notice: notice } }
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