diff options
author | schneems <richard.schneeman@gmail.com> | 2012-12-11 15:48:05 -0800 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2012-12-16 12:34:34 -0600 |
commit | 170a93d25c24c7a46b98e6539d8be4f4d4fc9a32 (patch) | |
tree | 437869a36ed3220e951cfe5fba28d7c12fc72d03 /actionpack | |
parent | 0c692f4d121792117b6a71e5ed590a31c3b9d12e (diff) | |
download | rails-170a93d25c24c7a46b98e6539d8be4f4d4fc9a32.tar.gz rails-170a93d25c24c7a46b98e6539d8be4f4d4fc9a32.tar.bz2 rails-170a93d25c24c7a46b98e6539d8be4f4d4fc9a32.zip |
DebugExceptions `File.join` => `File.expand_path`
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 2 |
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 |