summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-06 17:17:56 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-06 17:17:56 -0400
commit34a48d55cc9763fb65c50b80e545c99350ebc6ca (patch)
tree3944fb17bc75c50c798feb29e094e66f5d65c90c
parent8f3b1d6ea4c72665e1b0ffbc554727595cbe60b0 (diff)
downloadgitlab-ce-34a48d55cc9763fb65c50b80e545c99350ebc6ca.tar.gz
Revert "Change @project instance variable to a local in views/help/markdown"
This reverts commit 6471d8c6521ef7a88f3aa893cc11c1da8077bdc0.
-rw-r--r--app/views/help/markdown.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/help/markdown.html.haml b/app/views/help/markdown.html.haml
index 15ad4a5b06b..0644ede3e9f 100644
--- a/app/views/help/markdown.html.haml
+++ b/app/views/help/markdown.html.haml
@@ -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."