fix merge request note link

This commit is contained in:
Artiom Lunev 2011-12-12 00:18:51 +02:00
parent cd779e56e1
commit 1b6fb006ca

View file

@ -10,6 +10,7 @@ module DashboardHelper
when "Issue" then project_issue_path(project, note.noteable_id)
when "Snippet" then project_snippet_path(project, note.noteable_id)
when "Commit" then project_commit_path(project, :id => note.noteable_id)
when "MergeRequest" then project_merge_request_path(project, note.noteable_id)
else wall_project_path(project)
end
else wall_project_path(project)