lib/egregious.rb in egregious-0.1.2 vs lib/egregious.rb in egregious-0.1.3
- old
+ new
@@ -165,10 +165,10 @@
build_html_file_path(status) : build_html_file_path('500')}
end
end
def build_html_file_path(status)
- File.expand_path(Rails.root, 'public', status + '.html')
+ File.join(Rails.root, 'public', status + '.html')
end
def self.included(base)
base.class_eval do
rescue_from 'Exception' , :with => :egregious_exception_handler