Update Markdown example to use username
Update the Markdown example in the Help pages to use username instead of user.
This commit is contained in:
parent
65737bd5bd
commit
8ec36ca056
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue