Sha256: 1fe75745420eb8bcb9a34f51ad7146ab99cfaf84dec50a4cf453327cfa52bc6f

Contents?: true

Size: 270 Bytes

Versions: 21

Compression:

Stored size: 270 Bytes

Contents

module Chili
  class ApplicationController  < ::ApplicationController
    before_filter :activate_extension

    private
    def activate_extension
      raise ActionController::RoutingError, 'Extension Disabled' unless self.class.parent.active?(self)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
chili-1.0.1 app/controllers/chili/application_controller.rb
chili-1.0.0 app/controllers/chili/application_controller.rb
chili-0.3.5 app/controllers/chili/application_controller.rb
chili-0.3.4 app/controllers/chili/application_controller.rb
chili-0.3.3 app/controllers/chili/application_controller.rb
chili-0.3.2 app/controllers/chili/application_controller.rb
chili-0.3.1 app/controllers/chili/application_controller.rb
chili-0.3.0 app/controllers/chili/application_controller.rb
chili-0.2.2 app/controllers/chili/application_controller.rb
chili-0.2.1 app/controllers/chili/application_controller.rb
chili-0.2.0 app/controllers/chili/application_controller.rb
chili-0.1.0 app/controllers/chili/application_controller.rb
chili-0.0.9 app/controllers/chili/application_controller.rb
chili-0.0.8 app/controllers/chili/application_controller.rb
chili-0.0.7 app/controllers/chili/application_controller.rb
chili-0.0.6 app/controllers/chili/application_controller.rb
chili-0.0.5 app/controllers/chili/application_controller.rb
chili-0.0.4 app/controllers/chili/application_controller.rb
chili-0.0.3 app/controllers/chili/application_controller.rb
chili-0.0.2 app/controllers/chili/application_controller.rb