mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
19 lines
No EOL
462 B
JavaScript
19 lines
No EOL
462 B
JavaScript
(function () {
|
|
"use strict";
|
|
|
|
var util = require('util'),
|
|
models = require('./models'),
|
|
BaseProvider = require('./dataProvider.bookshelf.base'),
|
|
PostsProvider;
|
|
|
|
/**
|
|
* The Posts data provider implementation for Bookshelf.
|
|
*/
|
|
PostsProvider = function () {
|
|
BaseProvider.call(this, models.Post, models.Posts);
|
|
};
|
|
|
|
util.inherits(PostsProvider, BaseProvider);
|
|
|
|
module.exports = PostsProvider;
|
|
}()); |