Skip to content

Commit bf4aab1

Browse files
committed
Fix a variable name
1 parent 066693b commit bf4aab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/action_controller/caching/pages.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def cache_path(path, extension = nil)
160160
unnormalized_path = File.join(normalized_cache_directory, cache_file(path, extension))
161161
normalized_path = File.expand_path(unnormalized_path)
162162

163-
relative_path if normalized_path.start_with?(normalized_cache_directory)
163+
normalized_path if normalized_path.start_with?(normalized_cache_directory)
164164
end
165165

166166
def delete(path)

0 commit comments

Comments
 (0)