From bf4aab113f90a0c5182009709d5115a1d5772608 Mon Sep 17 00:00:00 2001 From: Jack McCracken Date: Wed, 6 May 2020 13:39:04 -0400 Subject: [PATCH] Fix a variable name --- lib/action_controller/caching/pages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/action_controller/caching/pages.rb b/lib/action_controller/caching/pages.rb index 081bc6e..c364a5b 100644 --- a/lib/action_controller/caching/pages.rb +++ b/lib/action_controller/caching/pages.rb @@ -160,7 +160,7 @@ def cache_path(path, extension = nil) unnormalized_path = File.join(normalized_cache_directory, cache_file(path, extension)) normalized_path = File.expand_path(unnormalized_path) - relative_path if normalized_path.start_with?(normalized_cache_directory) + normalized_path if normalized_path.start_with?(normalized_cache_directory) end def delete(path)