summaryrefslogtreecommitdiff
path: root/app/views/profiles/update_username.js.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/update_username.js.haml')
-rw-r--r--app/views/profiles/update_username.js.haml7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/views/profiles/update_username.js.haml b/app/views/profiles/update_username.js.haml
deleted file mode 100644
index 5307e0b48cb..00000000000
--- a/app/views/profiles/update_username.js.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-- if @user.valid?
- :plain
- new Flash("Username successfully changed", "notice")
-- else
- - error = @user.errors.full_messages.first
- :plain
- new Flash("Username change failed - #{escape_javascript error.html_safe}", "alert")