lib/e9_crm.rb in e9_crm-0.1.14 vs lib/e9_crm.rb in e9_crm-0.1.16
- old
+ new
@@ -1,14 +1,11 @@
-require 'rails'
+require 'e9_base'
require 'e9_rails'
require 'e9_tags'
+require 'e9_attributes'
+
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'
@@ -63,9 +60,11 @@
::Email.send(:include, E9Crm::Email)
E9Crm.tracking_controllers.each do |controller|
controller.send(:include, E9Crm::TrackingController)
end
+
+ MenuOption.keys |= %w(Deal\ Category)
end
class Engine < ::Rails::Engine
config.e9_crm = E9Crm
config.active_record.observers ||= []