Sha256: 6ca93487516ba5c8e0cd9d4a9a72a501c3430deb6c8807cd978ca65c48a05418
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 KB
Contents
require 'active_support' # NetzkeCore require 'netzke/base' require 'netzke/action_view_ext' require 'netzke/controller_extensions' require 'netzke/core_ext' require 'netzke/routing' require 'netzke/feedback_ghost' # Vendor require 'vendor/facets/hash/recursive_merge' # Load models and controllers from lib/app %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 if defined? ActionController ActionController::Base.class_eval do include Netzke::ControllerExtensions end # Include the route to the Netzke controller ActionController::Routing::RouteSet::Mapper.send :include, Netzke::Routing::MapperExtensions end if defined? ActionView ActionView::Base.send :include, Netzke::ActionViewExt end # Make this plugin auto-reloadable for easier development ActiveSupport::Dependencies.load_once_paths.delete(File.join(File.dirname(__FILE__))) # Include javascript & styles required by all Netzke widgets. # These files will get loaded at the initial load of the framework (along with Ext). Netzke::Base.config[:javascripts] << "#{File.dirname(__FILE__)}/../javascripts/core.js" Netzke::Base.config[:stylesheets] << "#{File.dirname(__FILE__)}/../stylesheets/core.css"
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.2.10 | lib/netzke-core.rb |
netzke-core-0.2.11 | lib/netzke-core.rb |
netzke-core-0.2.9 | lib/netzke-core.rb |
netzke-core-0.3.0 | lib/netzke-core.rb |
netzke-core-0.3.1 | lib/netzke-core.rb |