mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Fix badges edit form
Summary: Make sure to subclass the right controller on badges. Test Plan: arc liberate, make a custom badges edit form. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14961
This commit is contained in:
parent
91a01e5703
commit
ab27af9fc6
2 changed files with 3 additions and 2 deletions
|
@ -5954,7 +5954,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorBadgesCreateCapability' => 'PhabricatorPolicyCapability',
|
||||
'PhabricatorBadgesDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorBadgesDefaultEditCapability' => 'PhabricatorPolicyCapability',
|
||||
'PhabricatorBadgesEditController' => 'PhabricatorPasteController',
|
||||
'PhabricatorBadgesEditController' => 'PhabricatorBadgesController',
|
||||
'PhabricatorBadgesEditEngine' => 'PhabricatorEditEngine',
|
||||
'PhabricatorBadgesEditRecipientsController' => 'PhabricatorBadgesController',
|
||||
'PhabricatorBadgesEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorBadgesEditController extends PhabricatorPasteController {
|
||||
final class PhabricatorBadgesEditController extends
|
||||
PhabricatorBadgesController {
|
||||
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
return id(new PhabricatorBadgesEditEngine())
|
||||
|
|
Loading…
Reference in a new issue