提交 cd91a8d3 编写于 作者: J Joshua Peek

defined? has no bounds

上级 9853134b
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册