diff options
author | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-22 13:27:20 +0100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-22 13:27:26 +0100 |
commit | dcb925369389fa98d1548b25504c8e3a07eaeea3 (patch) | |
tree | 76193b6a2b9f0f1f8ead54686f3238df84773472 /actionpack | |
parent | 6cf378aeb048e25037a11cabe6338cd893789258 (diff) | |
download | rails-dcb925369389fa98d1548b25504c8e3a07eaeea3.tar.gz rails-dcb925369389fa98d1548b25504c8e3a07eaeea3.tar.bz2 rails-dcb925369389fa98d1548b25504c8e3a07eaeea3.zip |
Add basic template rendering to new DSL.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/render/rendering.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/render/rendering.rb b/actionpack/lib/action_view/render/rendering.rb index ec278ca783..7c33f1334a 100644 --- a/actionpack/lib/action_view/render/rendering.rb +++ b/actionpack/lib/action_view/render/rendering.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/object/try' + module ActionView module Rendering # Returns the result of a render that's dictated by the options hash. The primary options are: |