recipes/devise.rb in rails_wizard-0.1.0 vs recipes/devise.rb in rails_wizard-0.1.2

- old
+ new

@@ -3,12 +3,13 @@ after_bundler do generate 'devise:install' if recipes.include? 'mongo_mapper' gem 'mm-devise' - gsub_file 'config/intializers/devise.rb', 'devise/orm/active_record', 'devise/orm/mongo_mapper_active_model' + gsub_file 'config/initializers/devise.rb', 'devise/orm/', 'devise/orm/mongo_mapper_active_model' + generate 'mongo_mapper:devise User' elsif recipes.include? 'mongoid' - gsub_file 'config/intializers/devise.rb', 'devise/orm/active_record', 'devise/orm/mongoid' + gsub_file 'config/initializers/devise.rb', 'devise/orm/active_record', 'devise/orm/mongoid' end generate 'devise user' end