提交 3f8d3cd0 编写于 作者: P Pratik Naik

Remove unused ignore_missing_templates option

上级 17d4164a
......@@ -327,9 +327,6 @@ class Base
# Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers.
cattr_accessor :logger
# Turn on +ignore_missing_templates+ if you want to unit test actions without making the associated templates.
cattr_accessor :ignore_missing_templates
# Controls the resource action separator
@@resource_action_separator = "/"
cattr_accessor :resource_action_separator
......@@ -1219,7 +1216,7 @@ def add_instance_variables_to_assigns
end
def add_class_variables_to_assigns
%w(view_paths logger ignore_missing_templates).each do |cvar|
%w(view_paths logger).each do |cvar|
@assigns[cvar] = self.send(cvar)
end
end
......
......@@ -20,7 +20,6 @@
ActiveSupport::Deprecation.debug = true
ActionController::Base.logger = nil
ActionController::Base.ignore_missing_templates = false
ActionController::Routing::Routes.reload rescue nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册