aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorTieg Zaharia <tieg@kickstarter.com>2012-04-03 13:45:19 -0400
committerTieg Zaharia <tieg@kickstarter.com>2012-04-03 13:45:19 -0400
commitf181d7e3ef7bd2e951b748dbbd607d05e36b6f85 (patch)
tree8e485804d6e7b3cbb9be0ce4ab0ebe6242ae4425 /actionpack/lib
parent0cc6c5fec235cca6d7eb85d4f849536db8566e93 (diff)
downloadrails-f181d7e3ef7bd2e951b748dbbd607d05e36b6f85.tar.gz
rails-f181d7e3ef7bd2e951b748dbbd607d05e36b6f85.tar.bz2
rails-f181d7e3ef7bd2e951b748dbbd607d05e36b6f85.zip
minor elsif/else typo fix
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index 056dbc9529..f3315948b4 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -200,7 +200,7 @@ module ActionView #:nodoc:
# 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