diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-07-20 14:09:16 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:45 -0300 |
commit | 6fb2afed5284c7bc0157055609a0fde9ea4518d0 (patch) | |
tree | 714115dae356798a817f35591549e325064a17de | |
parent | 02c5c0d1565318668f8d3161374c4f4c269e6d33 (diff) | |
download | rails-6fb2afed5284c7bc0157055609a0fde9ea4518d0.tar.gz rails-6fb2afed5284c7bc0157055609a0fde9ea4518d0.tar.bz2 rails-6fb2afed5284c7bc0157055609a0fde9ea4518d0.zip |
Better name for method in DebugExceptions middleware
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index e5500ccdac..7912b5ce82 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -70,14 +70,14 @@ module ActionDispatch if @api_only render_for_api_application(request, wrapper) else - render_for_non_api_application(request, wrapper) + render_for_default_application(request, wrapper) end else raise exception end end - def render_for_non_api_application(request, wrapper) + def render_for_default_application(request, wrapper) template = create_template(request, wrapper) file = "rescues/#{wrapper.rescue_template}" |