diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 9b2b886ae9..896745594a 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -518,8 +518,8 @@ phutil_register_library_map(array( 'DifferentialRevisionDependedOnByRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependedOnByRevisionEdgeType.php', 'DifferentialRevisionDependsOnRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependsOnRevisionEdgeType.php', 'DifferentialRevisionEditConduitAPIMethod' => 'applications/differential/conduit/DifferentialRevisionEditConduitAPIMethod.php', + 'DifferentialRevisionEditController' => 'applications/differential/controller/DifferentialRevisionEditController.php', 'DifferentialRevisionEditEngine' => 'applications/differential/editor/DifferentialRevisionEditEngine.php', - 'DifferentialRevisionEditProController' => 'applications/differential/controller/DifferentialRevisionEditProController.php', 'DifferentialRevisionFulltextEngine' => 'applications/differential/search/DifferentialRevisionFulltextEngine.php', 'DifferentialRevisionGraph' => 'infrastructure/graph/DifferentialRevisionGraph.php', 'DifferentialRevisionHasChildRelationship' => 'applications/differential/relationships/DifferentialRevisionHasChildRelationship.php', @@ -5183,8 +5183,8 @@ phutil_register_library_map(array( 'DifferentialRevisionDependedOnByRevisionEdgeType' => 'PhabricatorEdgeType', 'DifferentialRevisionDependsOnRevisionEdgeType' => 'PhabricatorEdgeType', 'DifferentialRevisionEditConduitAPIMethod' => 'PhabricatorEditEngineAPIMethod', + 'DifferentialRevisionEditController' => 'DifferentialController', 'DifferentialRevisionEditEngine' => 'PhabricatorEditEngine', - 'DifferentialRevisionEditProController' => 'DifferentialController', 'DifferentialRevisionFulltextEngine' => 'PhabricatorFulltextEngine', 'DifferentialRevisionGraph' => 'PhabricatorObjectGraph', 'DifferentialRevisionHasChildRelationship' => 'DifferentialRevisionRelationship', diff --git a/src/applications/differential/application/PhabricatorDifferentialApplication.php b/src/applications/differential/application/PhabricatorDifferentialApplication.php index b84da25e52..b5a3ea95dc 100644 --- a/src/applications/differential/application/PhabricatorDifferentialApplication.php +++ b/src/applications/differential/application/PhabricatorDifferentialApplication.php @@ -65,10 +65,10 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication { ), 'changeset/' => 'DifferentialChangesetViewController', 'revision/' => array( - $this->getEditRoutePattern('editpro/') - => 'DifferentialRevisionEditProController', + $this->getEditRoutePattern('edit/') + => 'DifferentialRevisionEditController', $this->getEditRoutePattern('attach/(?P[^/]+)/to/') - => 'DifferentialRevisionEditProController', + => 'DifferentialRevisionEditController', 'land/(?:(?P[1-9]\d*))/(?P[^/]+)/' => 'DifferentialRevisionLandController', 'closedetails/(?P[^/]+)/' diff --git a/src/applications/differential/controller/DifferentialRevisionEditProController.php b/src/applications/differential/controller/DifferentialRevisionEditController.php similarity index 96% rename from src/applications/differential/controller/DifferentialRevisionEditProController.php rename to src/applications/differential/controller/DifferentialRevisionEditController.php index d61a6e4c0b..48fea82f7c 100644 --- a/src/applications/differential/controller/DifferentialRevisionEditProController.php +++ b/src/applications/differential/controller/DifferentialRevisionEditController.php @@ -1,6 +1,6 @@ addAction( id(new PhabricatorActionView()) ->setIcon('fa-pencil') - ->setHref("/differential/revision/editpro/{$revision_id}/") + ->setHref("/differential/revision/edit/{$revision_id}/") ->setName(pht('Edit Revision')) ->setDisabled(!$can_edit) ->setWorkflow(!$can_edit));