Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_username.js.haml « profiles « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 249680bcab6634f7dfd9d7806058053a1a91c9c9 (plain)
1
2
3
4
5
6
- if @user.valid?
  :plain
    new Flash("Username sucessfully changed", "notice")
- else
  :plain
    new Flash("Username change failed - #{@user.errors.full_messages.first}", "alert")