lib/heel/error_handler.rb in heel-0.5.0 vs lib/heel/error_handler.rb in heel-0.6.0
- old
+ new
@@ -9,10 +9,10 @@
attr_accessor :listener
attr_reader :request_notify
def initialize(options = {})
- @template = ::ERB.new File.read(File.join(APP_RESOURCE_DIR,"error.rhtml"))
+ @template = ::ERB.new File.read(File.join(APP_DATA_DIR,"error.rhtml"))
end
def process(request,response)
status = response.status
if status != 200 then