tessel / cloud

[UNMAINTAINED] Wireless firmware update proxy.
https://tessel.io
Apache License 2.0
2 stars 0 forks source link

Convert controllers to plain JS objects #2

Closed stewart closed 10 years ago

stewart commented 10 years ago

Any necessary state can be maintained in the request/session.

Now to access other controller's routes, you can do something like:

var app = require('./application_controller');
app.action(req, res);
edgarsilva commented 10 years ago

Looks great :ship: :it: