mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 04:26:08 +10:00
Merge pull request #1366 from tsigo/markdown_help
Change @project instance variable to a local in views/help/markdown
This commit is contained in:
@@ -88,9 +88,9 @@
|
||||
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 something like
|
||||
%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."
|
||||
|
||||
Reference in New Issue
Block a user