Skip to content

Commit

Permalink
Merge pull request #26342 from larssandergreen/Add-mailing-paths-to-s…
Browse files Browse the repository at this point in the history
…chema-and-SK

Add Mailing view and preview paths to schema
  • Loading branch information
seamuslee001 authored May 25, 2023
2 parents f724240 + 1eb88c4 commit 5d3b597
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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:d4641638461a78c3dc0a5090556bb79f)
* (GenCodeChecksum:b6497d273cd5ec8c044a5b60c6cd5fea)
*/

/**
Expand Down Expand Up @@ -53,6 +53,8 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
protected static $_paths = [
'add' => 'civicrm/a/#/mailing/new',
'update' => 'civicrm/a/#/mailing/[id]',
'view' => 'civicrm/mailing/report?mid=[id]&reset=1',
'preview' => 'civicrm/mailing/view?id=[id]&reset=1',
];

/**
Expand Down
2 changes: 2 additions & 0 deletions xml/schema/Mailing/Mailing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<paths>
<add>civicrm/a/#/mailing/new</add>
<update>civicrm/a/#/mailing/[id]</update>
<view>civicrm/mailing/report?mid=[id]&amp;reset=1</view>
<preview>civicrm/mailing/view?id=[id]&amp;reset=1</preview>
</paths>
<field>
<name>id</name>
Expand Down

0 comments on commit 5d3b597

Please sign in to comment.