diff options
author | Aaron Patterson <tenderlove@github.com> | 2019-02-06 18:08:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-06 18:08:36 -0800 |
commit | 973b62dcddd2db45047d32321e6887c841fc5ccf (patch) | |
tree | 791524f548ebe2b18b4cb7c704962a7a55150e6e /actionpack | |
parent | d0037daa3738ac754781ce5e55778a2cf9d3d2f7 (diff) | |
parent | 570bcdaa65987ac2f5cc84fdf83678cd5c0bb7d8 (diff) | |
download | rails-973b62dcddd2db45047d32321e6887c841fc5ccf.tar.gz rails-973b62dcddd2db45047d32321e6887c841fc5ccf.tar.bz2 rails-973b62dcddd2db45047d32321e6887c841fc5ccf.zip |
Merge pull request #35036 from rails/av-base-subclass
Move compiled ERB to an AV::Base subclass
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_view.rb | 4 |
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") |