diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-04-29 16:33:24 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:31:01 -0700 |
commit | 0c3d9bc4c2b329cb754bfed1e465f99d058e1193 (patch) | |
tree | 1ef1697cfe82c714549e4367a3ce63e928a4e04e /actionpack/lib/action_controller/new_base/renderer.rb | |
parent | 4f68311685831b940936130203c240fa23525c84 (diff) | |
download | rails-0c3d9bc4c2b329cb754bfed1e465f99d058e1193.tar.gz rails-0c3d9bc4c2b329cb754bfed1e465f99d058e1193.tar.bz2 rails-0c3d9bc4c2b329cb754bfed1e465f99d058e1193.zip |
Ported over render :template tests
Diffstat (limited to 'actionpack/lib/action_controller/new_base/renderer.rb')
-rw-r--r-- | actionpack/lib/action_controller/new_base/renderer.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/new_base/renderer.rb b/actionpack/lib/action_controller/new_base/renderer.rb index 9a965c18e8..df07edbd90 100644 --- a/actionpack/lib/action_controller/new_base/renderer.rb +++ b/actionpack/lib/action_controller/new_base/renderer.rb @@ -21,10 +21,6 @@ module ActionController end def render_to_body(options) - unless options.is_a?(Hash) - options = {:action => options} - end - if options.key?(:text) options[:_template] = ActionView::TextTemplate.new(_text(options)) template = nil |