Revert "Change @project instance variable to a local in views/help/markdown"

This reverts commit 6471d8c652.
This commit is contained in:
Robert Speicher 2012-09-06 17:17:56 -04:00
parent 8f3b1d6ea4
commit 34a48d55cc

View file

@ -88,9 +88,9 @@
for commits for commits
-# this example will only be shown if the user has a project with at least one issue -# this example will only be shown if the user has a project with at least one issue
- if project = current_user.projects.first - if @project = current_user.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 something like %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." %pre= "This is related to ##{issue.id}. @#{current_user.name} 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.name} is working on solving it."