diff options
author | Chris Waguespack <cjwprostar@hotmail.com> | 2013-01-23 09:58:38 -0600 |
---|---|---|
committer | Chris Waguespack <cjwprostar@hotmail.com> | 2013-01-23 09:58:38 -0600 |
commit | 8ec36ca056cdae7ecd6b2b7dce215d7ef897e22d (patch) | |
tree | 2d27ac0237df20cd1d9101dac407bd2a0d762190 /app/views/help | |
parent | 65737bd5bd6eb65556699a176e69757a3ac8c37a (diff) | |
download | gitlab-ce-8ec36ca056cdae7ecd6b2b7dce215d7ef897e22d.tar.gz |
Update Markdown example to use username
Update the Markdown example in the Help pages to use username instead of user.
Diffstat (limited to 'app/views/help')
-rw-r--r-- | app/views/help/markdown.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/help/markdown.html.haml b/app/views/help/markdown.html.haml index 46bcd895274..92c1e49be49 100644 --- a/app/views/help/markdown.html.haml +++ b/app/views/help/markdown.html.haml @@ -121,7 +121,7 @@ - if @project = current_user.authorized_projects.first - if issue = @project.issues.first %p For example in your #{link_to @project.name, project_path(@project)} project, writing: - %pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." + %pre= "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." %p becomes: - = markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." + = markdown "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." - @project = nil # Prevent this from bubbling up to page title |