gitlab-org--gitlab-foss/app/views/profiles
Dmitriy Zaporozhets 4291e28af7 Merge branch 'change-primary-email' into 'master'
Allow primary email to be set to an email that you've already added.

Fixes gitlab-com/support-forum#106.

When the user sets their primary email to an email that they've already added to their account, this patch makes sure that secondary email record is destroyed, and a new email record is created for the old primary email. This is based on the assumption that in this case no email was meant to be deleted, but the user simply wanted to change which of their emails is primary.

See merge request !591
2015-05-03 11:00:51 +00:00
..
accounts Add a page title to every page. 2015-04-30 19:12:15 +02:00
emails Merge branch 'change-primary-email' into 'master' 2015-05-03 11:00:51 +00:00
keys Add a page title to every page. 2015-04-30 19:12:15 +02:00
notifications Add a page title to every page. 2015-04-30 19:12:15 +02:00
passwords Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
applications.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
design.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
history.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
show.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
update.js.erb There's no longer a reason to re-render the header on Design updates 2015-04-25 14:03:40 -04:00
update_username.js.haml Restyle Profile#Account page 2013-10-09 16:43:24 +03:00