Move username change decision into user model

This commit is contained in:
Jaakko Kantojärvi 2013-02-02 21:25:03 +02:00
parent de7012c4fb
commit fcffb4c381
3 changed files with 6 additions and 2 deletions

View file

@ -53,7 +53,7 @@
- if Gitlab.config.gitlab.username_changing_enabled
- if current_user.can_change_username?
%fieldset.update-username
%legend
Username