Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor elsif/else typo fix

  • Loading branch information...
commit f181d7e3ef7bd2e951b748dbbd607d05e36b6f85 1 parent 0cc6c5f
@tiegz tiegz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/base.rb
View
2  actionpack/lib/action_view/base.rb
@@ -200,7 +200,7 @@ def initialize(context = nil, assigns = {}, controller = nil, formats = nil) #:n
# TODO Provide a new API for AV::Base and deprecate this one.
if context.is_a?(ActionView::Renderer)
@view_renderer = context
- elsif
+ else
lookup_context = context.is_a?(ActionView::LookupContext) ?
context : ActionView::LookupContext.new(context)
lookup_context.formats = formats if formats
Please sign in to comment.
Something went wrong with that request. Please try again.