Sha256: deb3e77f532d15e1ac8e42ce19d8acd12b3c661170f9ea666d4c48c153306275
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
module Netzke module Railz class Engine < Rails::Engine initializer "netzke.core" do |app| # app.config.eager_load_paths += ["#{app.config.root}/app/components"] end # before loading initializers config.before_initialize do |app| Netzke::Core.ext_path = Rails.root.join('public', Netzke::Core.ext_uri[1..-1]) end config.after_initialize do |app| if Netzke::Core.with_icons.nil? Netzke::Core.with_icons = File.exists?("#{::Rails.root}/public#{Netzke::Core.icons_uri}") end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-6.5.0.0 | lib/netzke/core/railz/engine.rb |
netzke-core-6.5.0.0.rc2 | lib/netzke/core/railz/engine.rb |