Commit 37a0a25f60576e812d0df9853ab7585e1325b868

Authored by Dmitriy Zaporozhets
2 parents 02e82728 1b6fb006

Merge pull request #185 from artiom/181-mergerequest-note-link

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)