diff --git a/lib/api/utilities/resource_link_parser.rb b/lib/api/utilities/resource_link_parser.rb index 7cd4d8033c..9821511bcf 100644 --- a/lib/api/utilities/resource_link_parser.rb +++ b/lib/api/utilities/resource_link_parser.rb @@ -75,7 +75,7 @@ module API private def resource_matcher - @@matcher ||= Regexp.compile(RESOURCE_REGEX) + @matcher ||= Regexp.compile(RESOURCE_REGEX) end # returns whether expectation and actual are identical