16 lines
348 B
JavaScript
16 lines
348 B
JavaScript
'use strict';
|
|
|
|
const topNavigation = require('../models/top_navigation.js');
|
|
|
|
class HistoryController {
|
|
constructor() {
|
|
topNavigation.activate('');
|
|
topNavigation.setTitle('History');
|
|
}
|
|
}
|
|
|
|
module.exports = router => {
|
|
router.enter('/history', (ctx, next) => {
|
|
ctx.controller = new HistoryController();
|
|
});
|
|
};
|