From 4a0334a4ab81fd7f041f17623468627bf0387733 Mon Sep 17 00:00:00 2001 From: gwoo Date: Tue, 5 Jan 2010 17:37:27 -0800 Subject: [PATCH] changing format of comment title in timeline rss --- views/timeline/rss/index.ctp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/timeline/rss/index.ctp b/views/timeline/rss/index.ctp index 6bf0ea0..760fa07 100644 --- a/views/timeline/rss/index.ctp +++ b/views/timeline/rss/index.ctp @@ -57,8 +57,9 @@ foreach ($timeline as $data) { if (!empty($data['Comment']['reason'])) { $status = $data['Comment']['reason']; } + $status = Inflector::humanize($status); $type = strtoupper(Inflector::humanize($data['Ticket']['type'])); - $title = "{$status} > {$type} > {$data['Ticket']['title']}"; + $title = "Comment/{$status}/{$type}/{$data['Ticket']['title']}"; $link = array( 'controller' => 'tickets', 'action' => 'view', $data['Ticket']['number'], '#' => 'c'.$data['Comment']['id']