server/web/contributors/index.js
exports.register = function (server, options, next) {
server.route({
method: 'GET',
path: '/contributors',
handler: function (request, reply) {
reply.view('contributors/index', {
headTitle: 'Contributors'
});
}
});
return next();
};
exports.register.attributes = {
name: 'web/contributors'
};