Project

General

Profile

Defect #30359 » spent-time-fix.diff

patch - Go MAEDA, 2019-01-08 09:28

View differences:

app/helpers/issues_helper.rb (working copy)
164 164

  
165 165
  def issue_spent_hours_details(issue)
166 166
    if issue.total_spent_hours > 0
167
      path = project_time_entries_path(issue.project, :issue_id => "~#{issue.id}")
167
      path = time_entries_path(:issue_id => "~#{issue.id}")
168 168

  
169 169
      if issue.total_spent_hours == issue.spent_hours
170 170
        link_to(l_hours_short(issue.spent_hours), path)
(4-4/4)