Unmuck some issues with viewing HEAD changes.

This commit is contained in:
epriestley
2011-04-02 17:11:51 -07:00
parent 8f5d01d451
commit 1b2140d7a4
6 changed files with 49 additions and 10 deletions

View File

@@ -23,14 +23,6 @@ class DiffusionChangeController extends DiffusionController {
$content = array();
$content[] = $this->buildCrumbs(
array(
'branch' => true,
'path' => true,
'view' => 'change',
));
$diff_query = DiffusionDiffQuery::newFromDiffusionRequest($drequest);
$changeset = $diff_query->loadChangeset();
@@ -39,6 +31,13 @@ class DiffusionChangeController extends DiffusionController {
$changeset_view->setRenderURI(
'/diffusion/'.$drequest->getRepository()->getCallsign().'/diff/');
$content[] = $this->buildCrumbs(
array(
'branch' => true,
'path' => true,
'view' => 'change',
));
// TODO: This is pretty awkward, unify the CSS between Diffusion and
// Differential better.
require_celerity_resource('differential-core-view-css');