Skip to content
Browse files

Merge pull request #5723 from tiegz/minor_fixes

minor elsif/else typo fix
  • Loading branch information...
2 parents 0cc6c5f + f181d7e commit 3352e3b61035045bfed6f62b661cae4274127abc @josevalim josevalim committed Apr 3, 2012
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

0 comments on commit 3352e3b

Please sign in to comment.
Something went wrong with that request. Please try again.