mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20: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:
parent
2f047dce43
commit
458563c68a
1 changed files with 1 additions and 2 deletions
|
@ -131,7 +131,6 @@ extends PhameController {
|
||||||
$notice = null;
|
$notice = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$page_title = $this->getPhameTitle();
|
|
||||||
$page = id(new PhamePostDetailView())
|
$page = id(new PhamePostDetailView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
->setRequestURI($request->getRequestURI())
|
->setRequestURI($request->getRequestURI())
|
||||||
|
@ -145,7 +144,7 @@ extends PhameController {
|
||||||
$page,
|
$page,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $page_title,
|
'title' => $post->getTitle(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue