Project

General

Profile

Patch #25139 » Project_link_on_issues_list__now_redirects_to_projects__project_id_issues_instead_of_proje.patch

Andrey Lobanov (RedSoft), 2017-02-21 14:14

View differences:

app/helpers/application_helper.rb (revision 81c75dc7fdd4fa938f475581bc54c9491ef18554)
188 188
    when 'User'
189 189
      html ? link_to_user(object) : object.to_s
190 190
    when 'Project'
191
      html ? link_to_project(object) : object.to_s
191
      html ? link_to(object, project_issues_path(object)) : object.to_s
192 192
    when 'Version'
193 193
      html ? link_to_version(object) : object.to_s
194 194
    when 'TrueClass'
(1-1/2)