lib/pbw/engine.rb in pbw-0.1.0 vs lib/pbw/engine.rb in pbw-0.1.1
- old
+ new
@@ -1,18 +1,19 @@
require 'pbw/version'
require 'mongoid'
require 'devise'
require 'cancan'
+require 'pbw/utils/utils'
module Pbw
class Engine < ::Rails::Engine
isolate_namespace Pbw
engine_name 'pbw'
config.mount_at = '/pbw'
rake_tasks do
- load File.join(File.dirname(__FILE__), 'tasks/pbw_tasks.rake')
+ load File.join(File.dirname(__FILE__), '../tasks/pbw_tasks.rake')
end
config.generators do |g|
g.orm :mongoid
g.template_engine :erb