mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
19249bdae5
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.
9 lines
229 B
JavaScript
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');
|
|
}
|
|
}
|