private/lib/core/routes.js
function routes(app) {

	this.app = app;
	var seminarjs = this;

	app.get('/version', function (req, res) {
		res.setHeader('Content-Type', 'application/json');
		res.send(JSON.stringify({
			'name': seminarjs.get('name'),
			'seminarjsVersion': seminarjs.version
		}));
	});

	return this;

}
function routes(app) {

	this.app = app;
	var seminarjs = this;

	app.get('/version', function (req, res) {
		res.setHeader('Content-Type', 'application/json');
		res.send(JSON.stringify({
			'name': seminarjs.get('name'),
			'seminarjsVersion': seminarjs.version
		}));
	});

	return this;

}
function routes ( app ) { this . app = app ; var seminarjs = this ; app . get ( '/version' , function ( req , res ) { res . setHeader ( 'Content-Type' , 'application/json' ) ; res . send ( JSON . stringify ( { 'name' : seminarjs . get ( 'name' ) , 'seminarjsVersion' : seminarjs . version } ) ) ; } ) ; return this ; }
Adds bindings for the seminarjs routes

####Example:

var app = express();
app.configure(...); // configuration settings
app.use(...); // middleware, routes, etc. should come before seminarjs is initialised
seminarjs.routes(app);

@param {Express()} app
@api public
Adds bindings for the seminarjs routes