lib/stationed/generators/plugins/devise.rb in stationed-0.1.0 vs lib/stationed/generators/plugins/devise.rb in stationed-0.2.0

- old
+ new

@@ -13,13 +13,13 @@ return super unless options[:devise] gem 'devise' copy_file 'devise.rb', 'spec/support/devise.rb' if options[:rspec] route "devise_scope :user do\n root to: 'devise/sessions#new'\n end\n" environment nil, env: :test do - "config.action_mailer.default_url_options = { host: 'example.com' }" + "# Set default url options for Devise mailers\n config.action_mailer.default_url_options = { host: 'example.com' }\n" end environment nil, env: :development do - "config.action_mailer.default_url_options = { host: 'localhost:3000' }" + "# Set default url options for Devise mailers\n config.action_mailer.default_url_options = { host: 'localhost:3000' }\n" end super end def run_bundle