From 0ce7eae7418f1b9bb06b351c1f26d50c3674c0d0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 17 May 2016 16:53:20 -0700 Subject: Make sure the cache is always populated This way we don't have to make multiple calls on anonymous controllers --- actionview/lib/action_view/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib') diff --git a/actionview/lib/action_view/test_case.rb b/actionview/lib/action_view/test_case.rb index 120962b5aa..ec16b0609e 100644 --- a/actionview/lib/action_view/test_case.rb +++ b/actionview/lib/action_view/test_case.rb @@ -14,7 +14,7 @@ module ActionView attr_accessor :request, :response, :params class << self - attr_writer :controller_path + attr_accessor :controller_path end def controller_path=(path) -- cgit v1.2.3