szurubooru/static/js/controllers/home_controller.js
rr- 797ace982f 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
2016-03-27 23:05:10 +02:00

17 lines
348 B
JavaScript

'use strict';
class HomeController {
constructor(topNavigationController) {
this.topNavigationController = topNavigationController;
}
indexRoute() {
this.topNavigationController.activate('home');
}
notFoundRoute() {
this.topNavigationController.activate('');
}
}
module.exports = HomeController;