Fix ProjectCacheWorker for plain READMEs
All threads resolved!
All threads resolved!
Compare changes
Files
2+ 3
− 0
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
The ProjectCacheWorker
refreshes cache periodically, but it runs outside Rails
context. So include the ActionView
helpers so the content_tag
method is
available.
I added include ActionView::Context
because, I ran into this error:
NoMethodError: undefined method 'output_buffer=' for
See http://stackoverflow.com/a/7562194/89376
master
(if it does - rebase it please)Fixes gitlab-org/gitlab-ce#32540