diff options
| author | Adam Soltys <[email protected]> | 2014-08-08 11:33:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-08-08 11:33:43 -0700 |
| commit | 2cc86381a6f79cd729048b34a72b70562a7b0ace (patch) | |
| tree | c42dda997719ce544a4dea2bf15937d293ebfd59 /routes/calculator.js | |
| parent | 3082e274b70a93fdac8a9a63934252ed914fe406 (diff) | |
| parent | 6d5c3a56067b96bb5d97cca4a80bacbf78395b2c (diff) | |
| download | coinos-server-2cc86381a6f79cd729048b34a72b70562a7b0ace.tar.gz coinos-server-2cc86381a6f79cd729048b34a72b70562a7b0ace.zip | |
Merge branch 'code_reorg'
Diffstat (limited to 'routes/calculator.js')
| -rw-r--r-- | routes/calculator.js | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/routes/calculator.js b/routes/calculator.js index 3e067df6..6c9517f3 100644 --- a/routes/calculator.js +++ b/routes/calculator.js @@ -1,18 +1,14 @@ (function() { - exports["new"] = function(req, res) { - return res.render('calculator/setup'); - }; - exports.sweep = function(req, res) { return res.render('calculator/sweep', { - layout: 'layout' - }); - }; - - exports.show = function(req, res) { - return res.render('calculator/show', { layout: 'layout', - x: 'meow' + navigation: true, + js: (function() { + return global.js; + }), + css: (function() { + return global.css; + }) }); }; |
