Sha256: 4756c56d056a235d796895ca46cb05404ad5fcf960fb44b7552a6eb0cd3b01b4
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chili-4.0.1 | app/controllers/chili/application_controller.rb |
chili-4.0.0 | app/controllers/chili/application_controller.rb |
chili-3.1.1 | app/controllers/chili/application_controller.rb |