diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 064d8af3d..be555b291 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -260,6 +260,7 @@ class ApplicationController < ActionController::Base path = url_for(param) first_three_digits = param['id'].to_s()[0..2] path = path.sub("/request/", "/request/" + first_three_digits + "/") + path = path.sub(/^\//, "") # remove initial slash end def foi_fragment_cache_all_for_request(info_request) first_three_digits = info_request.id.to_s()[0..2] |