diff options
author | Xavier Noria <fxn@hashref.com> | 2011-03-26 22:33:44 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-04-13 13:24:32 +0200 |
commit | 7c9d91f53eba513a7fb79fb9b01da2fa324c461f (patch) | |
tree | 261722bcdcd97b785cdca0488233d601a0377b7a /actionpack/lib/action_view | |
parent | 90de26703e6e5243ebb5fffc513780f8c69c71b4 (diff) | |
download | rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.tar.gz rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.tar.bz2 rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.zip |
removes render :update from views
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/rendering.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/rendering.rb b/actionpack/lib/action_view/rendering.rb index baa5d2c3fd..2b488fa845 100644 --- a/actionpack/lib/action_view/rendering.rb +++ b/actionpack/lib/action_view/rendering.rb @@ -6,7 +6,6 @@ module ActionView # Returns the result of a render that's dictated by the options hash. The primary options are: # # * <tt>:partial</tt> - See ActionView::Partials. - # * <tt>:update</tt> - Calls update_page with the block given. # * <tt>:file</tt> - Renders an explicit template file (this used to be the old default), add :locals to pass in those. # * <tt>:inline</tt> - Renders an inline template similar to how it's done in the controller. # * <tt>:text</tt> - Renders the text passed in out. @@ -26,8 +25,6 @@ module ActionView else _render_template(options) end - when :update - update_page(&block) else _render_partial(:partial => options, :locals => locals) end |