Skip to content

Commit

Permalink
Created a controller using the generator
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarkus committed Dec 4, 2013
1 parent 95b03fc commit fcc4c66
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions controllers/setLanguage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';


module.exports = function (server) {

server.get('/setlanguage', function (req, res) {
var model = { name: 'kraken-example-shopping-cart' };

res.render('setlanguage', model);

});

};

0 comments on commit fcc4c66

Please sign in to comment.