aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2012-12-16 12:24:20 -0800
committerSteve Klabnik <steve@steveklabnik.com>2012-12-16 12:24:20 -0800
commitaefdcfdf3daab74b337035060e86f6854d80ab1e (patch)
tree93a50151f16d8a14921fe5bf3eee69ef7d00ff78 /actionpack
parent8832313ebb80a3d671a7af7dedf613cfd3ca4d76 (diff)
parent170a93d25c24c7a46b98e6539d8be4f4d4fc9a32 (diff)
downloadrails-aefdcfdf3daab74b337035060e86f6854d80ab1e.tar.gz
rails-aefdcfdf3daab74b337035060e86f6854d80ab1e.tar.bz2
rails-aefdcfdf3daab74b337035060e86f6854d80ab1e.zip
Merge pull request #8529 from schneems/schneems/debug-exceptions-extend-path
DebugExceptions `File.join` => `File.expand_path`
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/debug_exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
index 0f0589a844..f356c2a85c 100644
--- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
+++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
@@ -7,7 +7,7 @@ module ActionDispatch
# This middleware is responsible for logging exceptions and
# showing a debugging page in case the request is local.
class DebugExceptions
- RESCUES_TEMPLATE_PATH = File.join(File.dirname(__FILE__), 'templates')
+ RESCUES_TEMPLATE_PATH = File.expand_path('../templates', __FILE__)
def initialize(app, routes_app = nil)
@app = app