aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJorge Bejar <jorge@wyeworks.com>2015-07-07 13:37:52 -0300
committerJorge Bejar <jorge@wyeworks.com>2015-12-09 10:53:45 -0300
commitb75f5c278ad2bc51faf1ae8438afad0e794a5261 (patch)
tree9fb332f85901c81054b3f9c5eb015e5d5a683bad /actionpack
parenta16ab35d34a3bc6440994fe20afc2eced096b618 (diff)
downloadrails-b75f5c278ad2bc51faf1ae8438afad0e794a5261.tar.gz
rails-b75f5c278ad2bc51faf1ae8438afad0e794a5261.tar.bz2
rails-b75f5c278ad2bc51faf1ae8438afad0e794a5261.zip
Remove unneeded args in AD::DebugExceptions
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/debug_exceptions.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
index 3093b6a8a6..d93b5fd659 100644
--- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
+++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
@@ -79,7 +79,6 @@ module ActionDispatch
def render_for_non_api_application(request, wrapper)
template = create_template(request, wrapper)
-
file = "rescues/#{wrapper.rescue_template}"
if request.xhr?