Improve <title> on Diffusion pages

Test Plan:
Visit /rX123.
Visit /diffusion/X/.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D1463
This commit is contained in:
vrana
2012-01-20 13:27:32 -08:00
parent d5eaef9567
commit e142c7e26c
2 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<?php
/*
* Copyright 2011 Facebook, Inc.
* Copyright 2012 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -106,7 +106,7 @@ class DiffusionRepositoryController extends DiffusionController {
return $this->buildStandardPageResponse(
$content,
array(
'title' => 'Diffusion',
'title' => $drequest->getRepository()->getName(),
));
}