Sha256: a41d2b4abc5b493e3792629e53a79b2546d6b05140abd336ed9a2bfb60db4543

Contents?: true

Size: 784 Bytes

Versions: 8

Compression:

Stored size: 784 Bytes

Contents

# External dependencies
require 'netzke-core'
require 'active_support/dependencies'

# Make components auto-loadable
ActiveSupport::Dependencies.autoload_paths << File.dirname(__FILE__)

require 'netzke/basepack'

module Netzke
  module Basepack
    class Engine < Rails::Engine

      %w[en de ru es].each do |lang|
        I18n.load_path << File.dirname(__FILE__) + "/../locales/#{lang}.yml"
      end

      config.after_initialize do
        Netzke::Core.external_ext_css << "#{Netzke::Core.ext_uri}/examples/ux/grid/css/RangeMenu"
        Netzke::Core.external_ext_css << "#{Netzke::Core.ext_uri}/examples/ux/grid/css/GridFilters"
        # Netzke::Core.external_ext_css << "#{Netzke::Core.ext_uri}/examples/ux/css/CheckHeader"
      end
    end
  end
end

Netzke::Basepack.init

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
netzke-basepack-0.11.2 lib/netzke-basepack.rb
netzke-basepack-0.11.1 lib/netzke-basepack.rb
netzke-basepack-0.11.0 lib/netzke-basepack.rb
netzke-basepack-0.10.1 lib/netzke-basepack.rb
netzke-basepack-0.10.0 lib/netzke-basepack.rb
netzke-basepack-0.9.0 lib/netzke-basepack.rb
netzke-basepack-0.10.0.rc2 lib/netzke-basepack.rb
netzke-basepack-0.9.0.rc1 lib/netzke-basepack.rb