From 7c9d91f53eba513a7fb79fb9b01da2fa324c461f Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 26 Mar 2011 22:33:44 +0100 Subject: removes render :update from views --- actionpack/lib/action_view/rendering.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'actionpack/lib/action_view') 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: # # * :partial - See ActionView::Partials. - # * :update - Calls update_page with the block given. # * :file - Renders an explicit template file (this used to be the old default), add :locals to pass in those. # * :inline - Renders an inline template similar to how it's done in the controller. # * :text - 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 -- cgit v1.2.3