diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-28 10:45:50 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2018-06-05 16:20:21 +0200 |
commit | 40ffa8401b96dda5f67ea699dbcca0ff64263810 (patch) | |
tree | bb243de568a356660a298588426a431a5c8a8659 /lib | |
parent | 85a8e6f26a8fa0ea9f430f0094fb14706bfd2991 (diff) | |
download | gitlab-ce-40ffa8401b96dda5f67ea699dbcca0ff64263810.tar.gz |
add request store caching to favicon
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/favicon.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/favicon.rb b/lib/gitlab/favicon.rb index e7fe0bff5b8..8802f58e31c 100644 --- a/lib/gitlab/favicon.rb +++ b/lib/gitlab/favicon.rb @@ -24,7 +24,7 @@ module Gitlab private def appearance - Appearance.current || Appearance.new + RequestStore.store[:appearance] ||= (Appearance.current || Appearance.new) end def appearance_favicon |