Sha256: cd7daddf1b3e0fdd7dff26f44527938dd545b8e4e11d6de719d6f37c010c733b

Contents?: true

Size: 761 Bytes

Versions: 6

Compression:

Stored size: 761 Bytes

Contents

require 'tkh_admin_panel/version'
require 'globalize'
require 'bootstrap-sass'
require 'twitter-typeahead-rails'
require 'bootstrap-will_paginate'
require 'simple_form'
require 'tkh_admin_panel/tkh_admin_panel_action_controller_extension'
require 'tkh_authentication'
require 'jquery-ui-rails'

module TkhAdminPanel
  class Engine < ::Rails::Engine
    initializer "TkhAdminPanel precompile hook", :group => :all do |app|
      app.config.assets.precompile += ['admin.js', 'admin.css', 'admin/pages.js']
    end

    # to extend the application_controller in the host app
    initializer 'tkh_admin_panel.controller' do |app|
      ActiveSupport.on_load(:action_controller) do
         include TkhAdminPanelActionControllerExtension
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tkh_admin_panel-0.9.7 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.5 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.4 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.3 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.2 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.1 lib/tkh_admin_panel.rb