Permalink
Browse files

replace in file

  • Loading branch information...
1 parent bf17354 commit 7cdd9afd9604f2442cad28c9abbc3ddb3b972bcb @xdite committed Dec 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/bootstrappers/app_builder.rb
@@ -30,9 +30,11 @@ def create_database
bundle_command 'exec rake db:create'
end
- def generate_devise
+ def generate_devise
generate 'devise:install'
generate 'devise User'
+ replace_in_file 'config/initializers/devise.rb', /config\.mailer_sender = \".+\"/m , "config.mailer_sender = Setting.email_sender"
+
end
def gitignore_files

0 comments on commit 7cdd9af

Please sign in to comment.