Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

switched back to 500.png rack image

  • Loading branch information...
commit f54272065d367673583a5efdc2523c15e090625e 1 parent 7d06d6d
@mnoble mnoble authored rtomayko committed
View
6 lib/sinatra/base.rb
@@ -959,12 +959,6 @@ def caller_files
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}/, '')
View
BIN  lib/sinatra/images/500.jpg
Deleted file not rendered
View
2  lib/sinatra/show_exceptions.rb
@@ -124,7 +124,7 @@ def initialize(app)
<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>
Please sign in to comment.
Something went wrong with that request. Please try again.