1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Phame - use post title for the actual web page title

Summary: 'cuz it looks dumb to use a URI slug

Test Plan: viewed a post liked the title

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2338
This commit is contained in:
Bob Trahan 2012-05-01 11:50:51 +02:00
parent 2f047dce43
commit 458563c68a

View file

@ -131,7 +131,6 @@ extends PhameController {
$notice = null;
}
$page_title = $this->getPhameTitle();
$page = id(new PhamePostDetailView())
->setUser($user)
->setRequestURI($request->getRequestURI())
@ -145,7 +144,7 @@ extends PhameController {
$page,
),
array(
'title' => $page_title,
'title' => $post->getTitle(),
));
}
}