mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed Email Router naming in docs and debug call
- this was likely copied and pasted from the preview router but we forgot to change the name
This commit is contained in:
parent
4edec18289
commit
5e020f1a8f
@ -3,11 +3,11 @@ const urlUtils = require('../../../shared/url-utils');
|
|||||||
const controllers = require('./controllers');
|
const controllers = require('./controllers');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Preview Router.
|
* @description Email Router.
|
||||||
*/
|
*/
|
||||||
class EmailRouter extends ParentRouter {
|
class EmailRouter extends ParentRouter {
|
||||||
constructor(RESOURCE_CONFIG) {
|
constructor(RESOURCE_CONFIG) {
|
||||||
super('PreviewRouter');
|
super('EmailRouter');
|
||||||
|
|
||||||
this.RESOURCE_CONFIG = RESOURCE_CONFIG.QUERY.email;
|
this.RESOURCE_CONFIG = RESOURCE_CONFIG.QUERY.email;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user