aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-08-26 15:21:06 -0500
committerJoshua Peek <josh@joshpeek.com>2008-08-26 15:21:06 -0500
commitcd91a8d3adb70e573ab8d0d733a966db5eff1e1d (patch)
treec43b74a2eb76d3b7461bd78d1ee44e009793eec9
parent9853134b4fec468962260f0e713d2f87046eb8b3 (diff)
downloadrails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.tar.gz
rails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.tar.bz2
rails-cd91a8d3adb70e573ab8d0d733a966db5eff1e1d.zip
defined? has no bounds
-rw-r--r--actionpack/lib/action_view/renderable.rb2
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)