lib/inverter/configuration.rb in inverter-0.2.7 vs lib/inverter/configuration.rb in inverter-0.3.2
- old
+ new
@@ -2,11 +2,12 @@
module Configuration
attr_accessor(
:model_class,
:template_folders,
- :excluded_templates
+ :excluded_templates,
+ :disable_middleware
)
def configure
yield self
end
@@ -15,9 +16,10 @@
base.set_default_configuration
end
def set_default_configuration
self.excluded_templates = []
+ self.disable_middleware = false
end
end
end