Mercurial > pumpbridge
comparison src/twitterroutes.coffee @ 17:a52b5b244e51
removed unnecessary underscore and replaced it with async
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Fri, 13 Jun 2014 15:18:36 +0200 |
parents | 98a070c98982 |
children |
comparison
equal
deleted
inserted
replaced
16:d2208a4ed5c8 | 17:a52b5b244e51 |
---|---|
87 else | 87 else |
88 res.redirect "/" | 88 res.redirect "/" |
89 return | 89 return |
90 | 90 |
91 return | 91 return |
92 | 92 |
93 # Routes | 93 # Routes |
94 console.log "Initializing Twitter routes" | 94 console.log "Initializing Twitter routes" |
95 app.get "/add-account", userAuth, userRequired, addAccount | 95 app.get "/add-account", userAuth, userRequired, addAccount |
96 app.get "/authorized-for-twitter", userAuth, userRequired, authorizedForTwitter | 96 app.get "/authorized-for-twitter", userAuth, userRequired, authorizedForTwitter |
97 return | 97 return |