lib/mongoid_search/railtie.rb in mongoid_search-0.3.2 vs lib/mongoid_search/railtie.rb in mongoid_search-0.3.3
- old
+ new
@@ -1,10 +1,7 @@
-require 'mongoid_search'
-require 'rails'
-
module Mongoid::Search
class Railtie < Rails::Railtie
rake_tasks do
- Dir[File.join(File.dirname(__FILE__), '../../tasks/*.rake')].each { |f| load f }
+ Dir[File.join(File.dirname(__FILE__), 'tasks/*.rake')].each { |f| load f }
end
end
-end
\ No newline at end of file
+end