diff options
Diffstat (limited to 'actionpack/lib/action_controller/templates')
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/_trace.rhtml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/_trace.rhtml b/actionpack/lib/action_controller/templates/rescues/_trace.rhtml index 59dcf3d9e6..6260ec8bcb 100644 --- a/actionpack/lib/action_controller/templates/rescues/_trace.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_trace.rhtml @@ -4,9 +4,6 @@ ["Framework Trace", @exception.framework_backtrace], ["Full Trace", @exception.clean_backtrace] ] - if defined?(RAILS_ROOT) - traces.each { |name, trace| trace.map! { |p| p.gsub(/^(?:\.\/)?#{RAILS_ROOT}/, '<b>#{RAILS_ROOT}</b>') } } - end names = traces.collect {|name, trace| name} %> |