fixed link to issue from project dashboard
This commit is contained in:
parent
6f915d5a01
commit
03b9369007
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue