- });
- $routeProvider.when('/mailing/:id' + pathSuffix, {
- templateUrl: editTemplate,
- controller: 'EditMailingCtrl',
- resolve: {
- selectedMail: function($route, crmMailingMgr) {
- return crmMailingMgr.get($route.current.params.id);
- },
- attachments: function($route, CrmAttachments) {
- var attachments = new CrmAttachments(function () {
- return {entity_table: 'civicrm_mailing', entity_id: $route.current.params.id};
- });
- return attachments.load();
- }
+ }
+ });
+
+ $routeProvider.when('/mailing/:id', {
+ templateUrl: '~/crmMailing/EditMailingCtrl/base.html',
+ controller: 'EditMailingCtrl',
+ resolve: {
+ selectedMail: function($route, crmMailingMgr) {
+ return crmMailingMgr.get($route.current.params.id);
+ },
+ attachments: function($route, CrmAttachments) {
+ var attachments = new CrmAttachments(function () {
+ return {entity_table: 'civicrm_mailing', entity_id: $route.current.params.id};
+ });
+ return attachments.load();