diff options
author | Liroy Leshed <37022194+liroyleshed@users.noreply.github.com> | 2018-10-10 20:29:32 +0300 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-10-10 10:29:32 -0700 |
commit | 2039da7ba029b2c9889847660aa0ba7c5d25bdc0 (patch) | |
tree | de0662c2f64a70e709f1d893a49ffdae79832b8a /test/dummy | |
parent | 9febb318043e5320d7338f0267c6aef651cd9315 (diff) | |
download | rails-2039da7ba029b2c9889847660aa0ba7c5d25bdc0.tar.gz rails-2039da7ba029b2c9889847660aa0ba7c5d25bdc0.tar.bz2 rails-2039da7ba029b2c9889847660aa0ba7c5d25bdc0.zip |
Remove set_action_text_renderer from dummy app (#26)
I don't think we need that since it's set automatically through ActionText::Engine.
Diffstat (limited to 'test/dummy')
-rw-r--r-- | test/dummy/app/controllers/application_controller.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb index c774981e25..09705d12ab 100644 --- a/test/dummy/app/controllers/application_controller.rb +++ b/test/dummy/app/controllers/application_controller.rb @@ -1,8 +1,2 @@ class ApplicationController < ActionController::Base - before_action :set_action_text_renderer - - private - def set_action_text_renderer - ActionText.renderer = self.class.renderer.new(request.env) - end end |