diff options
| author | Adam Soltys <[email protected]> | 2014-09-11 07:20:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-09-11 07:20:20 -0700 |
| commit | d07a4738359e1825e3629871b96c049275ab18c0 (patch) | |
| tree | 309bd147aa67abb8d97d6efb31070aca8143d44a /src | |
| parent | 2e8901c307347cdb0a6c0a8582b24c4655ec5d66 (diff) | |
| download | coinos-server-d07a4738359e1825e3629871b96c049275ab18c0.tar.gz coinos-server-d07a4738359e1825e3629871b96c049275ab18c0.zip | |
Streamline key generation
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.coffee | 1 | ||||
| -rw-r--r-- | src/routes/calculator.coffee | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/app.coffee b/src/app.coffee index b917cca1..1ea1d2cf 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -66,6 +66,7 @@ app.get('/', cache, sessions.new) app.get('/register', cache, users.new) app.get('/ticker', cache, calculator.ticker) app.get('/sweep', calculator.sweep) +app.get('/address', cache, calculator.address) app.get('/login', cache, sessions.new) app.post('/login', sessions.create) diff --git a/src/routes/calculator.coffee b/src/routes/calculator.coffee index 4f3ac0b5..0fadc34e 100644 --- a/src/routes/calculator.coffee +++ b/src/routes/calculator.coffee @@ -1,3 +1,10 @@ +exports.address = (req, res) -> + res.render('calculator/address', + layout: 'layout', + js: (-> global.js), + css: (-> global.css) + ) + exports.sweep = (req, res) -> res.render('calculator/sweep', layout: 'layout', |
