summaryrefslogtreecommitdiff
path: root/app/helpers/dashboard_helper.rb
diff options
context:
space:
mode:
authorArtiom Lunev <artiom.lunev@gmail.com>2011-12-12 00:18:51 +0200
committerArtiom Lunev <artiom.lunev@gmail.com>2011-12-12 00:18:51 +0200
commit1b6fb006ca6a57ae381608ff23ab464d7498ee26 (patch)
tree78fef2cbf985fff1b90d0793e51e463081351730 /app/helpers/dashboard_helper.rb
parentcd779e56e1ce799fc6ec25dc2fbc8a3e0f775ee8 (diff)
downloadgitlab-ce-1b6fb006ca6a57ae381608ff23ab464d7498ee26.tar.gz
fix merge request note link
Diffstat (limited to 'app/helpers/dashboard_helper.rb')
-rw-r--r--app/helpers/dashboard_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb
index 78cc2343aa5..5cf1027854d 100644
--- a/app/helpers/dashboard_helper.rb
+++ b/app/helpers/dashboard_helper.rb
@@ -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)