app/controllers/chili/application_controller.rb in chili-3.1.0 vs app/controllers/chili/application_controller.rb in chili-3.1.1

- old
+ new

@@ -1,9 +1,10 @@ module Chili class ApplicationController < ::ApplicationController before_filter :activate_feature private + def activate_feature raise ActionController::RoutingError, 'Feature Disabled' unless self.class.parent.active?(self) end end end