mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
refs https://github.com/TryGhost/Team/issues/1463 - This enables listing, creating and editing newsletters - The tests are commented out as the permissions will be added in a follow-up commit
9 lines
211 B
JavaScript
9 lines
211 B
JavaScript
const ghostBookshelf = require('./base');
|
|
|
|
const Newsletter = ghostBookshelf.Model.extend({
|
|
tableName: 'newsletters'
|
|
});
|
|
|
|
module.exports = {
|
|
Newsletter: ghostBookshelf.model('Newsletter', Newsletter)
|
|
};
|