Sha256: 12b8ea5979fbade3d56b121cb3259debd1aa3c8b044b06252dd98b479897ed93

Contents?: true

Size: 862 Bytes

Versions: 5

Compression:

Stored size: 862 Bytes

Contents

require 'tkh_admin_panel/version'
require 'globalize'
require 'bootstrap-sass'
require 'twitter-typeahead-rails'
require '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
    # debugging. this is not working. moving directive to host app
    initializer "TkhAdminPanel precompile hook", :group => :all do |app|
      app.config.assets.precompile += ['admin.js', 'admin.css', 'admin/pages.js', 'admin/illustrations.js', 'admin/menus.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

5 entries across 5 versions & 1 rubygems

Version Path
tkh_admin_panel-0.9.21 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.20 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.19 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.18 lib/tkh_admin_panel.rb
tkh_admin_panel-0.9.17 lib/tkh_admin_panel.rb