lib/crosstie/templates/user.rb in crosstie-0.0.4 vs lib/crosstie/templates/user.rb in crosstie-0.0.5
- old
+ new
@@ -24,9 +24,10 @@
generate "migration", "add_username_to_users", "username:string:index"
rake "db:migrate"
gsub_file "app/views/devise/sessions/new.html.erb", ":email", ":username"
+gsub_file "app/views/devise/sessions/new.html.erb", "email_field", "text_field"
[
"app/views/devise/registrations/new.html.erb",
"app/views/devise/registrations/edit.html.erb",
].each do |file|