Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-07-03 18:38:01 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-07-03 18:38:01 +0300
commitea9dd29a76477e73104764d2e7f937bb2ccce8c0 (patch)
tree9d3b903e5e1268cb0d8c87fa8772561f1043290f /app/models/concerns/routable.rb
parent7fe97d940ee49afb85f5c8df0e9ab267ba40391d (diff)
Reset @full_path to nil when cache expires
Diffstat (limited to 'app/models/concerns/routable.rb')
-rw-r--r--app/models/concerns/routable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/routable.rb b/app/models/concerns/routable.rb
index 2305e01d3f1..ee108f010a6 100644
--- a/app/models/concerns/routable.rb
+++ b/app/models/concerns/routable.rb
@@ -108,6 +108,7 @@ module Routable
def expires_full_path_cache
RequestStore.delete(full_path_key) if RequestStore.active?
+ @full_path = nil
end
def build_full_path