Sha256: 1dc7861f8bde1c80c4fedfb746a93c3467bb8c6cbd96d337eaf7ad450b47c38d

Contents?: true

Size: 580 Bytes

Versions: 4

Compression:

Stored size: 580 Bytes

Contents

module Ksk
  class Engine < Rails::Engine

    isolate_namespace Ksk

    Bhf.configure do |config|
      config.css << 'ksk/application'
      config.js << 'ksk/application'
      config.abstract_settings << "#{File.expand_path("../..", __FILE__)}/config/bhf/ksk"
    end

    initializer 'ksk.helper' do
      ActiveSupport.on_load :action_controller do
        helper Ksk::FrontendHelper
      end
    end

    initializer 'ksk.assets.precompile' do |app|
      app.config.assets.precompile += %w( ksk/application.css ksk/application.js )
    end
  end
end

require 'stringex'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ksk-0.4.11 lib/ksk.rb
ksk-0.4.10 lib/ksk.rb
ksk-0.4.9 lib/ksk.rb
ksk-0.4.8 lib/ksk.rb