daily pastebin goal
39%
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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top