daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest May 17th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def page_cache_file(path)
  2.             name = (path.empty? || path == "/") ? "/index" : URI.unescape(path.chomp('/'))
  3.             name << page_cache_extension unless (name.split('/').last || name).include? '.'
  4.             return name
  5.           end
RAW Paste Data
Top