Skip to content

Commit c347fd3

Browse files
committed
Merge pull request gitlabhq#1366 from tsigo/markdown_help
Change @project instance variable to a local in views/help/markdown
2 parents cb2b888 + 6471d8c commit c347fd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/help/markdown.html.haml

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888
for commits
8989

9090
-# this example will only be shown if the user has a project with at least one issue
91-
- if @project = current_user.projects.first
92-
- if issue = @project.issues.first
93-
%p For example in your #{link_to @project.name, project_path(@project)} project something like
91+
- if project = current_user.projects.first
92+
- if issue = project.issues.first
93+
%p For example in your #{link_to project.name, project_path(project)} project something like
9494
%pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
9595
%p becomes
9696
= markdown "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."

0 commit comments

Comments
 (0)