Skip to content
Snippets Groups Projects
Commit 03b93690 authored by gitlabhq's avatar gitlabhq
Browse files

fixed link to issue from project dashboard

parent 6f915d5a
No related branches found
No related tags found
No related merge requests found
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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment