Permalink
Browse files

defined? has no bounds

  • Loading branch information...
1 parent 9853134 commit cd91a8d3adb70e573ab8d0d733a966db5eff1e1d @josh josh committed Aug 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/renderable.rb
@@ -72,7 +72,7 @@ def #{render_symbol}(local_assigns)
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)

0 comments on commit cd91a8d

Please sign in to comment.