Generic controller
Simply returns a bauplan.model
var BauplanController = require("bauplan.controller");
or as part of the Bauplan bundle
var Bauplan = require("bauplan");
var BauplanController = Bauplan.Controller;
Create a controller
var FooController = Bauplan.Controller.extend({
…
});
Returns
BauplanController
- Type
- constructor
Extends
Requires
- Source: