summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-26 13:34:06 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-26 17:14:07 +0200
commit35e977d69b622e5a82be58c632ddc427d771cc09 (patch)
tree59ba545748b47e2bdb3879ac3e0e072da74a9a54 /app/models/note.rb
parent25c08d11bbf3a889501ebe295a1ab66a12a52d49 (diff)
downloadgitlab-ce-35e977d69b622e5a82be58c632ddc427d771cc09.tar.gz
Refactor Mentionable
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.
Diffstat (limited to 'app/models/note.rb')
0 files changed, 0 insertions, 0 deletions