Commit 8ec36ca056cdae7ecd6b2b7dce215d7ef897e22d
1 parent
65737bd5
Exists in
master
and in
4 other branches
Update Markdown example to use username
Update the Markdown example in the Help pages to use username instead of user.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/help/markdown.html.haml
... | ... | @@ -121,7 +121,7 @@ |
121 | 121 | - if @project = current_user.authorized_projects.first |
122 | 122 | - if issue = @project.issues.first |
123 | 123 | %p For example in your #{link_to @project.name, project_path(@project)} project, writing: |
124 | - %pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." | |
124 | + %pre= "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." | |
125 | 125 | %p becomes: |
126 | - = markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." | |
126 | + = markdown "This is related to ##{issue.id}. @#{current_user.username} is working on solving it." | |
127 | 127 | - @project = nil # Prevent this from bubbling up to page title | ... | ... |