Sha256: 143c470a867a6ccd82d99507eb8f4c21ce689165e724a0db6b675c581e0b4c32

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

module Lockup
  class Engine < ::Rails::Engine
    isolate_namespace Lockup

    initializer 'lockup.app_controller' do |app|
      ActiveSupport.on_load(:action_controller) do
        include Lockup::InstanceMethods
        extend Lockup::ClassMethods
        before_filter :check_for_lockup, :except => ["unlock"]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lockup-1.0.0 lib/lockup/engine.rb
lockup-0.0.5 lib/lockup/engine.rb
lockup-0.0.4 lib/lockup/engine.rb
lockup-0.0.3 lib/lockup/engine.rb