Permalink
Browse files

Strip Test suffix from menu items.

  • Loading branch information...
1 parent 2e29008 commit 6c4ede74bd2939a2d2bef9d224abfe42bceb80f0 @davidpersson davidpersson committed with nateabele Mar 24, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 libraries/lithium/test/templates/html/menu.html.php
@@ -48,7 +48,11 @@
?>
<?php endwhile ?>
- <li><a href="<?php echo $base ?>/test/<?php echo join($path, "/") ?>/<?php echo $case ?>" title="run <?php echo $case; ?>"><?php echo $case ?></a></li>
+ <li>
+ <a href="<?php echo $base ?>/test/<?php echo join($path, "/") ?>/<?php echo $case ?>" title="run <?php echo $case; ?>">
+ <?php echo preg_replace('/Test$/', null, $case); ?>
+ </a>
+ </li>
<?php endforeach ?>

0 comments on commit 6c4ede7

Please sign in to comment.