-
- Downloads
There was an error fetching the commit references. Please try again later.
Cache the rendered README, but post-process on show
Because the post-processing of the rendered README is dependent on the context (i.e. the current user), do the post-processing when the README is being displayed.
Showing
- app/helpers/markup_helper.rb 30 additions, 10 deletionsapp/helpers/markup_helper.rb
- app/helpers/tree_helper.rb 0 additions, 4 deletionsapp/helpers/tree_helper.rb
- app/models/repository.rb 10 additions, 5 deletionsapp/models/repository.rb
- app/views/projects/_readme.html.haml 1 addition, 2 deletionsapp/views/projects/_readme.html.haml
- app/views/projects/tree/_readme.html.haml 1 addition, 1 deletionapp/views/projects/tree/_readme.html.haml
- changelogs/unreleased/26585-remove-readme-view-caching.yml 4 additions, 0 deletionschangelogs/unreleased/26585-remove-readme-view-caching.yml
- lib/gitlab/asciidoc.rb 0 additions, 2 deletionslib/gitlab/asciidoc.rb
- lib/gitlab/other_markup.rb 0 additions, 2 deletionslib/gitlab/other_markup.rb
- spec/helpers/application_helper_spec.rb 0 additions, 27 deletionsspec/helpers/application_helper_spec.rb
- spec/helpers/markup_helper_spec.rb 26 additions, 2 deletionsspec/helpers/markup_helper_spec.rb
- spec/models/repository_spec.rb 2 additions, 2 deletionsspec/models/repository_spec.rb
Please register or sign in to comment