mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
b5228f5c43
- We're going to be moving towards this naming convention more - Doing this now makes it easier to name other things
14 lines
385 B
JavaScript
14 lines
385 B
JavaScript
var router = require('./lib/router'),
|
|
registerHelpers = require('./lib/helpers'),
|
|
config = require('../../config');
|
|
|
|
module.exports = {
|
|
activate: function activate(ghost) {
|
|
registerHelpers(ghost);
|
|
},
|
|
|
|
setupRoutes: function setupRoutes(siteRouter) {
|
|
siteRouter.use('*/' + config.get('routeKeywords').amp + '/', router);
|
|
}
|
|
};
|