Ghost/ghost/admin/app/routes/settings/members-email.js
Simon Backx 19249bdae5 Renamed members-email-labs to newsletters and removed unused files
no issue

We still had some old components and templates from the `members-email` settings that were only were used when the (now GA) `multipleNewsletters` flag was disabled. I’ve removed them and renamed all routes and components from `members-email` and `members-email-labs` to just `newsletters` because it was sometimes hard to understand if a given components was still used or not when fixing issues.
2022-05-05 13:37:53 +02:00

9 lines
229 B
JavaScript

import AdminRoute from 'ghost-admin/routes/admin';
export default class MembersEmailRoute extends AdminRoute {
beforeModel() {
// Moved to newsletters
return this.replaceWith('settings.newsletters');
}
}