aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/debug_view.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/debug_view.rb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/debug_view.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_view.rb b/actionpack/lib/action_dispatch/middleware/debug_view.rb
index 5a7010a1c2..f16484d1ea 100644
--- a/actionpack/lib/action_dispatch/middleware/debug_view.rb
+++ b/actionpack/lib/action_dispatch/middleware/debug_view.rb
@@ -15,6 +15,10 @@ module ActionDispatch
super(renderer, assigns)
end
+ def compiled_method_container
+ self.class
+ end
+
def debug_params(params)
clean_params = params.clone
clean_params.delete("action")