Sha256: f5b6174af6192cacc723fe56e1942cad0729b6db29248c5e07405d2c4e2b477a
Contents?: true
Size: 580 Bytes
Versions: 15
Compression:
Stored size: 580 Bytes
Contents
#-- # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # Version 2, December 2004 # # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION # # 0. You just DO WHAT THE FUCK YOU WANT TO. #++ class ${ClassName} before do @language = request.env['HTTP_ACCEPT_LANGUAGE'] @current_url = "http://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']}" @domain = "http://#{request.env['HTTP_HOST']}" end get '/' do erb :index end end
Version data entries
15 entries across 15 versions & 1 rubygems