Commit 50fb4d6a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2715 from cjwprostar/help-fix

Update Markdown example to use username
parents 65737bd5 8ec36ca0
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
- if @project = current_user.authorized_projects.first - if @project = current_user.authorized_projects.first
- if issue = @project.issues.first - if issue = @project.issues.first
%p For example in your #{link_to @project.name, project_path(@project)} project, writing: %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: %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 - @project = nil # Prevent this from bubbling up to page title
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment