Skip to content

Commit

Permalink
FIX: URL Route
Browse files Browse the repository at this point in the history
- changed `rename` to `edit`
  • Loading branch information
aljawaid committed Jun 30, 2023
1 parent 731974c commit 4f41643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function initialize()
// - Example: $this->route->addRoute('/my/custom/route', 'MyController', 'show', 'PluginNameExampleStudlyCaps');
$this->route->addRoute('/settings/address-book', 'ContactsItemsController', 'config', 'AddressBook');
$this->route->addRoute('/settings/address-book/property/:item_id/move/:direction', 'ContactsItemsController', 'movePosition', 'AddressBook');
$this->route->addRoute('/settings/address-book/property/:item_id/rename', 'ContactsItemsController', 'edit', 'AddressBook');
$this->route->addRoute('/settings/address-book/property/:item_id/edit', 'ContactsItemsController', 'edit', 'AddressBook');
$this->route->addRoute('/settings/address-book/property/:item_id/delete', 'ContactsItemsController', 'confirm', 'AddressBook');
$this->route->addRoute('/settings/address-book/property/delete/:item_id', 'ContactsItemsController', 'remove', 'AddressBook');
$this->route->addRoute('/project/:project_id/address-book', 'ContactsController', 'project', 'AddressBook');
Expand Down

0 comments on commit 4f41643

Please sign in to comment.