2016-03-19 21:37:04 +01:00
|
|
|
'use strict';
|
|
|
|
|
2016-06-14 10:31:48 +02:00
|
|
|
const topNavigation = require('../models/top_navigation.js');
|
2016-03-19 21:37:04 +01:00
|
|
|
|
2016-04-01 00:20:34 +02:00
|
|
|
class HistoryController {
|
2016-06-14 10:31:48 +02:00
|
|
|
constructor() {
|
|
|
|
topNavigation.activate('');
|
2016-07-13 21:50:07 +02:00
|
|
|
topNavigation.setTitle('History');
|
2016-03-19 21:37:04 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-14 10:31:48 +02:00
|
|
|
module.exports = router => {
|
|
|
|
router.enter('/history', (ctx, next) => {
|
|
|
|
ctx.controller = new HistoryController();
|
|
|
|
});
|
|
|
|
};
|