lib/e9_crm.rb in e9_crm-0.1.8 vs lib/e9_crm.rb in e9_crm-0.1.10

- old
+ new

@@ -3,17 +3,20 @@ require 'e9_tags' require 'money' require 'inherited_resources' require 'will_paginate' require 'has_scope' +require 'kramdown' +require 'e9_base' require 'e9_crm/rails_extensions' module E9Crm autoload :VERSION, 'e9_crm/version' autoload :Controller, 'e9_crm/controller' autoload :Model, 'e9_crm/model' + autoload :Email, 'e9_crm/email' autoload :TrackingController, 'e9_crm/tracking_controller' mattr_accessor :cookie_name @@cookie_name = '_e9_tc' @@ -49,9 +52,11 @@ if user_model user_model.send(:include, E9Crm::Model) end ActionController::Base.send(:include, E9Crm::Controller) + + ::Email.send(:include, E9Crm::Email) E9Crm.tracking_controllers.each do |controller| controller.send(:include, E9Crm::TrackingController) end end