Skip to content

Commit 071a014

Browse files
authored
Merge pull request #60 from JackMc/fix-variable
Fix a variable name
2 parents 066693b + bf4aab1 commit 071a014

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)