Commit ae0971c5 authored by Kerri Miller's avatar Kerri Miller

Add common accessor for targeted UsageDataCounter class

parent ac29d813
...@@ -23,5 +23,9 @@ module ApprovalRules ...@@ -23,5 +23,9 @@ module ApprovalRules
def success(*args, &blk) def success(*args, &blk)
super.tap { |hsh| hsh[:rule] = rule } super.tap { |hsh| hsh[:rule] = rule }
end end
def merge_request_activity_counter
Gitlab::UsageDataCounters::MergeRequestActivityUniqueCounter
end
end end
end 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