• Yorick Peterse's avatar
    Refactor Mentionable · 35e977d6
    Yorick Peterse authored
    Caching is now always enabled when rendering attributes as there's no
    reason to not cache them. The method Mentionable#all_references has also
    been modified to take an optional Gitlab::ReferenceExtractor instance to
    allow other code to create one and re-use it between multiple calls.
    35e977d6
mentionable.rb 4.18 KB