diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-26 15:21:06 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-26 15:21:06 -0500 |
commit | cd91a8d3adb70e573ab8d0d733a966db5eff1e1d (patch) | |
tree | c43b74a2eb76d3b7461bd78d1ee44e009793eec9 /actionpack/lib/action_view | |
parent | 9853134b4fec468962260f0e713d2f87046eb8b3 (diff) | |
download | rails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.tar.gz rails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.tar.bz2 rails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.zip |
defined? has no bounds
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/renderable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/renderable.rb b/actionpack/lib/action_view/renderable.rb index 3a79b2b01e..fa45edd436 100644 --- a/actionpack/lib/action_view/renderable.rb +++ b/actionpack/lib/action_view/renderable.rb @@ -72,7 +72,7 @@ module ActionView end_src begin - logger = defined? ActionController && Base.logger + logger = defined?(ActionController) && Base.logger logger.debug "Compiling template #{render_symbol}" if logger ActionView::Base::CompiledTemplates.module_eval(source, filename, 0) |