b2beda784331ff6c2264cfb71ec2675f4579be59

Author: gwoo

Date: 2009-12-15 22:48:31 -0800

udpating tickets title

diff --git a/controllers/tickets_controller.php b/controllers/tickets_controller.php index 0dd9c2d..14b40c5 100755 --- a/controllers/tickets_controller.php +++ b/controllers/tickets_controller.php @@ -87,7 +87,7 @@ class TicketsController extends AppController { if (!empty($this->passedArgs['type']) && $this->passedArgs['type'] != 'all') { $type = $this->passedArgs['type']; - $current .= '/' . $type; + $current .= '/' . Inflector::humanize($type); } /* if (!empty($this->Project->current['fork'])) { diff --git a/views/tickets/index.ctp b/views/tickets/index.ctp index 449fb92..7918218 100644 --- a/views/tickets/index.ctp +++ b/views/tickets/index.ctp @@ -1,8 +1,6 @@ <h2> <?php __( - Inflector::humanize($current) . - (!empty($user) ? "'s" : '') . ' ' . - (!empty($type) ? join(',', array_map('ucwords', explode(',', $type))) : '') + Inflector::humanize($current) . (!empty($user) ? "'s" : '') ) ?> </h2>