diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-04 11:26:02 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-04 11:28:37 +0200 |
commit | 6afc900191c8edc6f41966827e1cd03ced3f1b17 (patch) | |
tree | 9b1e65ffc67052c455ab5c5b98c90d888abd90a3 /actionpack/lib/action_view | |
parent | d9c39c3ae9aa9d0f50a4b557781be39e39e5b752 (diff) | |
download | rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.tar.gz rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.tar.bz2 rails-6afc900191c8edc6f41966827e1cd03ced3f1b17.zip |
Move prefixes to view paths as they are now a lookup context dependency.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb index 14e032790d..43f9bffe18 100644 --- a/actionpack/lib/action_view/test_case.rb +++ b/actionpack/lib/action_view/test_case.rb @@ -1,4 +1,5 @@ require 'active_support/core_ext/object/blank' +require 'active_support/core_ext/module/delegation' require 'action_controller' require 'action_controller/test_case' require 'action_view' @@ -43,6 +44,7 @@ module ActionView include AbstractController::Helpers include ActionView::Helpers + delegate :lookup_context, :to => :controller attr_accessor :controller, :output_buffer, :rendered module ClassMethods |