Skip to content

Commit

Permalink
Remove unused ignore_missing_templates option
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Apr 19, 2008
1 parent 17d4164 commit 3f8d3cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions actionpack/lib/action_controller/base.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion actionpack/test/abstract_unit.rb
Expand Up @@ -20,7 +20,6 @@
ActiveSupport::Deprecation.debug = true

ActionController::Base.logger = nil
ActionController::Base.ignore_missing_templates = false
ActionController::Routing::Routes.reload rescue nil


Expand Down

0 comments on commit 3f8d3cd

Please sign in to comment.