fixed link to issue from project dashboard

This commit is contained in:
gitlabhq 2011-11-11 10:45:44 -05:00
parent 6f915d5a01
commit 03b9369007

View file

@ -1,7 +1,7 @@
module DashboardHelper
def dashboard_feed_path(project, object)
case object.class.name.to_s
when "Issue" then project_issues_path(project, project.issues.find(object.id))
when "Issue" then project_issue_path(project, project.issues.find(object.id))
when "Grit::Commit" then project_commit_path(project, project.repo.commits(object.id).first)
when "Note"
then