Improve Phame live blogs/posts

Summary: Make "View Live" work on Posts.

Test Plan: Clicked "View Live" on live/not-live posts/blogs.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1373

Differential Revision: https://secure.phabricator.com/D3703
This commit is contained in:
epriestley
2012-10-15 14:51:30 -07:00
parent 0c4eb79d3a
commit 9c94bf1bea
9 changed files with 131 additions and 62 deletions

View File

@@ -164,7 +164,7 @@ abstract class AphrontApplicationConfiguration {
// TODO: Make this more flexible and modular so any application can
// do crazy stuff here if it wants.
$path = '/phame/blog/live/'.$blog->getID().'/'.$path;
$path = '/phame/live/'.$blog->getID().'/'.$path;
$celerity = CelerityAPI::getStaticResourceResponse();
$celerity->setUseFullURI(true);