Sha256: 945ba1fe13080cd2bf1af6dd12ff03e427b4b6ee0ec579a67c1ebc17131db6b8

Contents?: true

Size: 1001 Bytes

Versions: 1

Compression:

Stored size: 1001 Bytes

Contents

require 'tkh_admin_panel/version'
require 'globalize'
require 'bootstrap-sass'
require 'sass-rails'
require 'autoprefixer-rails'
require 'bootstrap-will_paginate'
require 'will_paginate'
require 'twitter-typeahead-rails'
require 'simple_form'
require 'tkh_admin_panel/tkh_admin_panel_action_controller_extension'
# require 'tkh_authentication'
require 'jquery-ui-rails'
require 'ckeditor_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', 'admin/ckeditor/config.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

1 entries across 1 versions & 1 rubygems

Version Path
tkh_admin_panel-0.10 lib/tkh_admin_panel.rb