lib/voteable_mongo.rb in voteable_mongo-0.8.1 vs lib/voteable_mongo.rb in voteable_mongo-0.9.0
- old
+ new
@@ -1,10 +1,9 @@
require 'mongoid'
+
require 'voteable_mongo/voteable'
require 'voteable_mongo/voter'
+require 'voteable_mongo/tasks'
-require 'voteable_mongo/voteable/tasks'
-
-# Add railtie
if defined?(Rails)
require 'voteable_mongo/railtie'
end