diff options
author | José Valim <jose.valim@gmail.com> | 2009-10-18 22:52:36 -0200 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-11-01 02:23:48 +0100 |
commit | 43d5504f0a6a831474d149aa5f1ebb2545790152 (patch) | |
tree | ab3c28e28279c029784b5c3e129d0e3c0d8faa75 /actionpack/test | |
parent | 684c2dc20801b7fcc941ec9478d33d3bf7c74551 (diff) | |
download | rails-43d5504f0a6a831474d149aa5f1ebb2545790152.tar.gz rails-43d5504f0a6a831474d149aa5f1ebb2545790152.tar.bz2 rails-43d5504f0a6a831474d149aa5f1ebb2545790152.zip |
Move all render and layout pieces required in ActionMailer from ActionController to AbstractController.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/abstract/helper_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/abstract/helper_test.rb b/actionpack/test/abstract/helper_test.rb index 5a363c9aa5..b6952d2758 100644 --- a/actionpack/test/abstract/helper_test.rb +++ b/actionpack/test/abstract/helper_test.rb @@ -7,10 +7,12 @@ module AbstractController include AbstractController::RenderingController include Helpers + def _prefix() end + def render(string) super(:_template_name => string) end - + append_view_path File.expand_path(File.join(File.dirname(__FILE__), "views")) end |