Browse files

Remove comment about getting rid of old behavior

I've talked to José Valim, who added this comment, and there is no need
to remove old API. It's good to have a simple way to instantiate
ActionView::Base, by just passing view paths as a first argument,
instead of constructing LookupContext and then the Renderer.

[ci skip]
  • Loading branch information...
1 parent 731bb2f commit 9e731f0d8ac98055f510d1474ad652936074f204 @drogus drogus committed Jun 14, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_view/base.rb
@@ -178,8 +178,6 @@ def assign(new_assigns) # :nodoc:
def initialize(context = nil, assigns = {}, controller = nil, formats = nil) #:nodoc:
@_config =
- # Handle all these for backwards compatibility.
- # TODO Provide a new API for AV::Base and deprecate this one.
if context.is_a?(ActionView::Renderer)
@view_renderer = context

0 comments on commit 9e731f0

Please sign in to comment.