Sha256: ac9ecb2bc37c7f939b97d1c62bc88bb69000931a89df5681340d9ae653db9d1e
Contents?: true
Size: 753 Bytes
Versions: 1
Compression:
Stored size: 753 Bytes
Contents
# NetzkeCore require 'netzke/js_class_builder' require 'netzke/base' require 'netzke/core_ext' require 'netzke/controller_extensions' # Vendor require 'vendor/facets/hash/recursive_merge' %w{ models controllers }.each do |dir| path = File.join(File.dirname(__FILE__), 'app', dir) $LOAD_PATH << path ActiveSupport::Dependencies.load_paths << path ActiveSupport::Dependencies.load_once_paths.delete(path) end ActionController::Base.class_eval do include Netzke::ControllerExtensions end # Make this plugin reloadable for easier development ActiveSupport::Dependencies.load_once_paths.delete(File.join(File.dirname(__FILE__))) # Include the javascript Netzke::Base.config[:javascripts] << "#{File.dirname(__FILE__)}/../javascripts/core.js"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skozlov-netzke-core-0.1.0.2 | lib/netzke-core.rb |