Commit: b1a8afeb6acef0aeb3b74a302eb7a2553642453e

Author: David Persson | Date: 2010-01-21 19:46:22 +0100
Updating crumbs to detect method.
diff --git a/controllers/BrowserController.php b/controllers/BrowserController.php index 9f9a3b3..9610e25 100755 --- a/controllers/BrowserController.php +++ b/controllers/BrowserController.php @@ -147,8 +147,11 @@ class BrowserController extends \lithium\action\Controller { if (strpos($ident, '::') !== false) { list($class, $ident) = explode('::', $ident, 2); $crumbs[] = array('title' => $class, 'url' => "docs{$url}/{$class}", 'class' => null); + $isMethod = true; + } else { + $isMethod = false; } - $crumbs[] = array('title' => $ident, 'url' => null, 'class' => null); + $crumbs[] = array('title' => $ident, 'url' => null, 'class' => $isMethod ? 'ident' : null); return $crumbs; }