1. Yuya Nishihara
  2. redmine_kagemai_import

Commits

Yuya Nishihara  committed 48e3cc6

changed not to specify anchor for original kagemai link

  • Participants
  • Parent commits ebd9e16
  • Branches default

Comments (0)

Files changed (1)

File lib/tasks/import_kagemai_reports.rake

View file
  • Ignore whitespace
     def self.reformat_description(kagemai_proj_id, report)
       if KAGEMAI_URL
         link_url = "#{KAGEMAI_URL}?action=view_report&id=#{report.id}&project=#{kagemai_proj_id}"
-        encode(report.first['body']) + %Q{\n\n"Kagemai:#{'%03d' % report.id}":#{link_url}}
+        "#{encode(report.first['body'])}\n\n#{link_url}"
       else
         encode(report.first['body'])
       end