This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/client/js/controllers/history_controller.js

16 lines
362 B
JavaScript

'use strict';
const page = require('page');
const topNavController = require('../controllers/top_nav_controller.js');
class HistoryController {
registerRoutes() {
page('/history', (ctx, next) => { this.showHistoryRoute(); });
}
listHistoryRoute() {
topNavController.activate('');
}
}
module.exports = new HistoryController();