Commit 03b9369007b01df74e1032a4eb958419f420d27d

Authored by gitlabhq
1 parent 6f915d5a

fixed link to issue from project dashboard

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/dashboard_helper.rb
1 module DashboardHelper 1 module DashboardHelper
2 def dashboard_feed_path(project, object) 2 def dashboard_feed_path(project, object)
3 case object.class.name.to_s 3 case object.class.name.to_s
4 - when "Issue" then project_issues_path(project, project.issues.find(object.id)) 4 + when "Issue" then project_issue_path(project, project.issues.find(object.id))
5 when "Grit::Commit" then project_commit_path(project, project.repo.commits(object.id).first) 5 when "Grit::Commit" then project_commit_path(project, project.repo.commits(object.id).first)
6 when "Note" 6 when "Note"
7 then 7 then