diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 19:26:56 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 19:26:56 +0100 |
commit | 3f8d3cd04ff0bd7cbf70c11d49a3dc009dfa98a0 (patch) | |
tree | 5dff9d33a4b3cbe31b3fef598bd0b48786007a10 /actionpack/lib/action_controller/base.rb | |
parent | 17d4164a16e5fe7b252375211424a2999a331291 (diff) | |
download | rails-3f8d3cd04ff0bd7cbf70c11d49a3dc009dfa98a0.tar.gz rails-3f8d3cd04ff0bd7cbf70c11d49a3dc009dfa98a0.tar.bz2 rails-3f8d3cd04ff0bd7cbf70c11d49a3dc009dfa98a0.zip |
Remove unused ignore_missing_templates option
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 32df035871..c0f3122fbf 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -327,9 +327,6 @@ module ActionController #:nodoc: # 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 @@ module ActionController #:nodoc: 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 |