Provide an application-wide controller for Releeph

Summary: Fixes T3548. Concrete Releeph controllers currently extend either from ReleephController or PhabricatorController directly. Instead, make them all extend ReleephController. Introduce ReleephProjectController for controllers which depend on project context. Project context code which lived in ReleephController moves to ReleephProjectController.

Test Plan: Viewed list, project, releases, requests.

Reviewers: btrahan, edward

Reviewed By: edward

CC: aran

Maniphest Tasks: T3548

Differential Revision: https://secure.phabricator.com/D6472
This commit is contained in:
epriestley
2013-07-21 08:42:10 -07:00
parent 6cdb02fc7e
commit 904a24c1df
18 changed files with 139 additions and 132 deletions

View File

@@ -1,6 +1,6 @@
<?php
final class ReleephProjectViewController extends ReleephController {
final class ReleephProjectViewController extends ReleephProjectController {
public function processRequest() {
// Load all branches