szurubooru/client/js/controllers/history_controller.js

19 lines
392 B
JavaScript
Raw Normal View History

'use strict';
const router = require('../router.js');
2016-06-13 22:34:39 +02:00
const TopNavigation = require('../models/top_navigation.js');
class HistoryController {
registerRoutes() {
router.enter(
'/history',
(ctx, next) => { this._listHistoryRoute(); });
}
_listHistoryRoute() {
2016-06-13 22:34:39 +02:00
TopNavigation.activate('');
}
}
module.exports = new HistoryController();