Sha256: 4da3c58fec64273efe39c08c5665e6e7173adbbcfa97bde533d5dc0aed5c7418

Contents?: true

Size: 738 Bytes

Versions: 29

Compression:

Stored size: 738 Bytes

Contents

require "tkh_authentication/version"
# require 'bcrypt-ruby'
require 'simple_form'
require 'stringex'
require 'tkh_authentication/tkh_authentication_action_controller_extension'
require 'tkh_authentication/tkh_authentication_helper'

module TkhAuthentication
  class Engine < ::Rails::Engine
    # to extend the application helper in the host app
    initializer 'tkh_authentication.helper' do |app|  
      ActionView::Base.send :include, TkhAuthenticationHelper  
    end  
    # to extend the application_controller in the host app
    initializer 'tkh_authentication.controller' do |app|
      ActiveSupport.on_load(:action_controller) do  
         include TkhAuthenticationActionControllerExtension  
      end
    end    
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tkh_authentication-0.9.9 lib/tkh_authentication.rb
tkh_authentication-0.9.8 lib/tkh_authentication.rb
tkh_authentication-0.9.7 lib/tkh_authentication.rb
tkh_authentication-0.9.6 lib/tkh_authentication.rb
tkh_authentication-0.9.5 lib/tkh_authentication.rb
tkh_authentication-0.9.4 lib/tkh_authentication.rb
tkh_authentication-0.9.3 lib/tkh_authentication.rb
tkh_authentication-0.1.11 lib/tkh_authentication.rb
tkh_authentication-0.1.10 lib/tkh_authentication.rb
tkh_authentication-0.1.9 lib/tkh_authentication.rb
tkh_authentication-0.1.8 lib/tkh_authentication.rb
tkh_authentication-0.9.2 lib/tkh_authentication.rb
tkh_authentication-0.9.1 lib/tkh_authentication.rb
tkh_authentication-0.9 lib/tkh_authentication.rb
tkh_authentication-0.1.7 lib/tkh_authentication.rb
tkh_authentication-0.1.6 lib/tkh_authentication.rb
tkh_authentication-0.1.5 lib/tkh_authentication.rb
tkh_authentication-0.1.3 lib/tkh_authentication.rb
tkh_authentication-0.1.2 lib/tkh_authentication.rb
tkh_authentication-0.1.1 lib/tkh_authentication.rb