Commit 4c3a61a760b22687fd670c8b02252b20532419be

Authored by Artiom Lunev
Committed by Jeremy Mack
1 parent d5c6f270

fix merge request note link

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/helpers/dashboard_helper.rb
@@ -10,6 +10,7 @@ module DashboardHelper @@ -10,6 +10,7 @@ module DashboardHelper
10 when "Issue" then project_issue_path(project, note.noteable_id) 10 when "Issue" then project_issue_path(project, note.noteable_id)
11 when "Snippet" then project_snippet_path(project, note.noteable_id) 11 when "Snippet" then project_snippet_path(project, note.noteable_id)
12 when "Commit" then project_commit_path(project, :id => note.noteable_id) 12 when "Commit" then project_commit_path(project, :id => note.noteable_id)
  13 + when "MergeRequest" then project_merge_request_path(project, note.noteable_id)
13 else wall_project_path(project) 14 else wall_project_path(project)
14 end 15 end
15 else wall_project_path(project) 16 else wall_project_path(project)