view config.ru @ 229:388504e43bcf

Properly return 404 when requesting invalid paste.
author Edho Arief <edho@myconan.net>
date Wed, 15 May 2013 14:10:35 +0900
parents 377750dcab80
children d31fe32da7a0
line wrap: on
line source

# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)
map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
  run Zeropaste::Application
end