Ghost/core/frontend/services/routing/controllers/index.js
Kevin Ansfield ee47dd4dae
Added /unsubscribe/ route to the front-end (#11394)
no issue

- adds new router to the frontend for handling unsubscribe
- default template lives in `core/server/frontend/views/unsubscribe.hbs`
- `{{error}}` is present and contains the error message when unsubscribe fails
- `{{member}}` is present and contains the member email
- updated unsubscribe url to match the new format
2019-11-15 09:36:49 +00:00

30 lines
475 B
JavaScript

module.exports = {
get entry() {
return require('./entry');
},
get collection() {
return require('./collection');
},
get rss() {
return require('./rss');
},
get preview() {
return require('./preview');
},
get channel() {
return require('./channel');
},
get static() {
return require('./static');
},
get unsubscribe() {
return require('./unsubscribe');
}
};