lib/action_view/base.rb in actionpack-4.0.9 vs lib/action_view/base.rb in actionpack-4.0.10.rc1
- old
+ new
@@ -147,9 +147,13 @@
@@prefix_partial_path_with_controller_namespace = true
# Specify default_formats that can be rendered.
cattr_accessor :default_formats
+ # Specify whether an error should be raised for missing translations
+ cattr_accessor :raise_on_missing_translations
+ @@raise_on_missing_translations = false
+
class_attribute :_routes
class_attribute :logger
class << self
delegate :erb_trim_mode=, :to => 'ActionView::Template::Handlers::ERB'