Permalink
Browse files

switched back to 500.png rack image

  • Loading branch information...
mnoble authored and rtomayko committed Mar 15, 2009
1 parent 7d06d6d commit f54272065d367673583a5efdc2523c15e090625e
Showing with 1 addition and 7 deletions.
  1. +0 −6 lib/sinatra/base.rb
  2. BIN lib/sinatra/images/500.jpg
  3. +1 −1 lib/sinatra/show_exceptions.rb
View
@@ -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
Deleted file not rendered
@@ -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>

0 comments on commit f542720

Please sign in to comment.