aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLiroy Leshed <37022194+liroyleshed@users.noreply.github.com>2018-10-10 20:29:32 +0300
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-10-10 10:29:32 -0700
commit2039da7ba029b2c9889847660aa0ba7c5d25bdc0 (patch)
treede0662c2f64a70e709f1d893a49ffdae79832b8a /test
parent9febb318043e5320d7338f0267c6aef651cd9315 (diff)
downloadrails-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')
-rw-r--r--test/dummy/app/controllers/application_controller.rb6
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