1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00

Restore user edit controller, remove profile edit controller

Summary:
I took the wrong route out of the URI map in
rP0de2e03cc245723fd64f410f5fe22ee65f05f568.

The removed route was user account editing/creation.

The intended route was profile editing (now in Settings).

Test Plan:
  - Clicked "Create New Account", got account create interface instead of 404.
  - Went to /profile/edit/, got 404 instead of class-not-found exception.

Reviewed By: moskov
Reviewers: moskov, jungejason, tuomaspelkonen, aran
CC: aran, moskov
Differential Revision: 731
This commit is contained in:
epriestley 2011-07-25 20:32:02 -07:00
parent aeae33b7d6
commit 9d94ea9fdf

View file

@ -72,12 +72,11 @@ class AphrontDefaultApplicationConfiguration
'/people/' => array( '/people/' => array(
'$' => 'PhabricatorPeopleListController', '$' => 'PhabricatorPeopleListController',
'logs/$' => 'PhabricatorPeopleLogsController', 'logs/$' => 'PhabricatorPeopleLogsController',
'edit/(?:(?P<id>\d+)/(?:(?P<view>\w+)/)?)?$'
=> 'PhabricatorPeopleEditController',
), ),
'/p/(?P<username>\w+)/(?:(?P<page>\w+)/)?$' '/p/(?P<username>\w+)/(?:(?P<page>\w+)/)?$'
=> 'PhabricatorPeopleProfileController', => 'PhabricatorPeopleProfileController',
'/profile/' => array(
'edit/$' => 'PhabricatorPeopleProfileEditController',
),
'/conduit/' => array( '/conduit/' => array(
'$' => 'PhabricatorConduitConsoleController', '$' => 'PhabricatorConduitConsoleController',
'method/(?P<method>[^/]+)$' => 'PhabricatorConduitConsoleController', 'method/(?P<method>[^/]+)$' => 'PhabricatorConduitConsoleController',