Commit 805d408f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1397 from tsigo/fix_markdown_help

Fix Markdown help page
parents 0eb8a039 8fdeb43c
No related merge requests found
......@@ -88,14 +88,13 @@
for commits
-# this example will only be shown if the user has a project with at least one issue
- if project = current_user.projects.first
- if issue = project.issues.first
%p For example in your #{link_to project.name, project_path(project)} project something like
- if @project = current_user.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."
%p becomes
= markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
%p becomes:
%pre= gfm "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
- @project = nil # Prevent this from bubbling up to page title
.span4.right
.alert.alert-info
......
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