diff options
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index a99cadc77..1d82a5714 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -1050,8 +1050,7 @@ public def foi_fragment_cache_directory # return stub path so admin can expire it - first_three_digits = id.to_s()[0..2] - path = "views/request/#{first_three_digits}/#{id}" + path = "views/request/#{request_dirs}" foi_cache_path = File.expand_path(File.join(Rails.root, 'cache')) return File.join(foi_cache_path, path) end |