diff --git a/src/applications/phame/controller/blog/PhameBlogViewController.php b/src/applications/phame/controller/blog/PhameBlogViewController.php index 249bd5506a..2f20702f6e 100644 --- a/src/applications/phame/controller/blog/PhameBlogViewController.php +++ b/src/applications/phame/controller/blog/PhameBlogViewController.php @@ -39,8 +39,11 @@ final class PhameBlogViewController extends PhameBlogController { ->appendChild($post_list); $crumbs = $this->buildApplicationCrumbs(); - $crumbs->addTextCrumb(pht('Blogs'), $this->getApplicationURI('blog/')); - $crumbs->addTextCrumb($blog->getName(), $this->getApplicationURI()); + $crumbs->addTextCrumb( + pht('Blogs'), + $this->getApplicationURI('blog/')); + $crumbs->addTextCrumb( + $blog->getName()); $object_box = id(new PHUIObjectBoxView()) ->setHeader($header) diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php index ca48af1036..8b85ada2aa 100644 --- a/src/applications/phame/controller/post/PhamePostViewController.php +++ b/src/applications/phame/controller/post/PhamePostViewController.php @@ -14,7 +14,12 @@ final class PhamePostViewController extends PhamePostController { return new Aphront404Response(); } + $blog = $post->getBlog(); + $crumbs = $this->buildApplicationCrumbs(); + $crumbs->addTextCrumb( + $blog->getName(), + $this->getApplicationURI('blog/view/'.$blog->getID().'/')); $crumbs->addTextCrumb( $post->getTitle(), $this->getApplicationURI('post/view/'.$post->getID().'/'));