Make celerity be able to render full uris
Summary: ...and use 'em in the phame blog case. Test Plan: viewed blog.phabricator.dev and it actually looked right! Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1373 Differential Revision: https://secure.phabricator.com/D3666
This commit is contained in:
@@ -160,8 +160,8 @@ abstract class AphrontApplicationConfiguration {
|
||||
$path = '/phame/posts/'.trim($path, '/').'/';
|
||||
}
|
||||
|
||||
// TODO - now we need to tell Celerity to render static resources with
|
||||
// full URIs like secure.phabricator.org/rsrc/blahblah
|
||||
$celerity = CelerityAPI::getStaticResourceResponse();
|
||||
$celerity->setUseFullURI(true);
|
||||
}
|
||||
|
||||
list($controller, $uri_data) = $this->buildControllerForPath($path);
|
||||
|
||||
Reference in New Issue
Block a user