mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
start
Done so far Basic backend skeleton - technology choices - database migration outline - basic self hosting facade - basic REST outline - proof of concept for auth and privileges Basic frontend skeleton - technology choices - pretty robust frontend compilation - top navigation - proof of concept for registration form
This commit is contained in:
17
static/js/controllers/home_controller.js
Normal file
17
static/js/controllers/home_controller.js
Normal file
@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
class HomeController {
|
||||
constructor(topNavigationController) {
|
||||
this.topNavigationController = topNavigationController;
|
||||
}
|
||||
|
||||
indexRoute() {
|
||||
this.topNavigationController.activate('home');
|
||||
}
|
||||
|
||||
notFoundRoute() {
|
||||
this.topNavigationController.activate('');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = HomeController;
|
Reference in New Issue
Block a user