lib/e9_crm.rb in e9_crm-0.1.17 vs lib/e9_crm.rb in e9_crm-0.1.18
- old
+ new
@@ -1,12 +1,7 @@
require 'e9_base'
-require 'e9_rails'
-require 'e9_tags'
-require 'e9_attributes'
-
require 'money'
-
require 'e9_crm/rails_extensions'
module E9Crm
autoload :VERSION, 'e9_crm/version'
autoload :Controller, 'e9_crm/controller'
@@ -53,10 +48,10 @@
if user_model
user_model.send(:include, E9Crm::Model)
end
- ActionController::Base.send(:include, E9Crm::Controller)
+ ApplicationController.send(:include, E9Crm::Controller)
::Email.send(:include, E9Crm::Email)
E9Crm.tracking_controllers.each do |controller|
controller.send(:include, E9Crm::TrackingController)