switched back to 500.png rack image

This commit is contained in:
Matte Noble 2009-03-15 13:26:47 -04:00 committed by Ryan Tomayko
parent 7d06d6dfa9
commit f54272065d
3 changed files with 1 additions and 7 deletions

View File

@ -959,12 +959,6 @@ module Sinatra
content_type :png
send_file filename
end
get '/__sinatra__/:image.jpg' do
filename = File.dirname(__FILE__) + "/images/#{params[:image]}.jpg"
content_type :jpg
send_file filename
end
error NotFound do
(<<-HTML).gsub(/^ {8}/, '')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -124,7 +124,7 @@ TEMPLATE = <<HTML
<body>
<div id="wrap">
<div id="header">
<img src="/__sinatra__/500.jpg" alt="application error" />
<img src="/__sinatra__/500.png" alt="application error" />
<div id="summary">
<h1><strong><%=h exception.class %></strong> at <strong><%=h path %>
</strong></h1>