Commit 50fb4d6a2c691494a9cf16a4c4061233c1672c1f
Exists in
master
and in
4 other branches
Merge pull request #2715 from cjwprostar/help-fix
Update Markdown example to use username
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 | ... | ... |