Skip to content

Commit

Permalink
Merge pull request civicrm#27962 from colemanw/mailLinks
Browse files Browse the repository at this point in the history
CiviMail - Update path metadata
  • Loading branch information
colemanw authored Oct 31, 2023
2 parents 90f1556 + 4cb0f99 commit 134a8dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions CRM/Mailing/DAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:813f125fcf0c0253d96f6a0cf158bc15)
* (GenCodeChecksum:62a218e043b9abab2e816bf69272cca1)
*/

/**
Expand Down Expand Up @@ -51,8 +51,9 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
* @var string[]
*/
protected static $_paths = [
'add' => 'civicrm/a/#/mailing/new',
'update' => 'civicrm/a/#/mailing/[id]',
'add' => 'civicrm/mailing/send',
'update' => 'civicrm/mailing/send?mid=[id]&continue=true',
'copy' => 'civicrm/mailing/send?mid=[id]',
'view' => 'civicrm/mailing/report?mid=[id]&reset=1',
'preview' => 'civicrm/mailing/view?id=[id]&reset=1',
];
Expand Down
5 changes: 3 additions & 2 deletions xml/schema/Mailing/Mailing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<component>CiviMail</component>
<labelField>name</labelField>
<paths>
<add>civicrm/a/#/mailing/new</add>
<update>civicrm/a/#/mailing/[id]</update>
<add>civicrm/mailing/send</add>
<update>civicrm/mailing/send?mid=[id]&amp;continue=true</update>
<copy>civicrm/mailing/send?mid=[id]</copy>
<view>civicrm/mailing/report?mid=[id]&amp;reset=1</view>
<preview>civicrm/mailing/view?id=[id]&amp;reset=1</preview>
</paths>
Expand Down

0 comments on commit 134a8dc

Please sign in to comment.