Permalink
Browse files

Fix failsafe response path. [#1504 state:committed]

  • Loading branch information...
1 parent eb5e6fe commit f54ae9a9976ec6b4ec228a535edd9b32cc60c43d @jeremy jeremy committed Dec 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/dispatcher.rb
@@ -61,7 +61,7 @@ def failsafe_response(fallback_output, status, originating_exception = nil)
private
def failsafe_response_body(status)
- error_path = "#{error_file_path}/#{status.to_s[0..3]}.html"
+ error_path = "#{error_file_path}/#{status.to_s[0..2]}.html"
if File.exist?(error_path)
File.read(error_path)

0 comments on commit f54ae9a

Please sign in to comment.