Created
May 11, 2011 19:57
-
-
Save deedubs/967203 to your computer and use it in GitHub Desktop.
long filter chains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.get '/', app.helpers.loadUser, helpers.loadAccounts, helpers.loadExpenses, helpers.loadCategories, controllers.expenses.index | |
... | |
controllers.expenses = | |
index : (req, res) -> | |
res.render 'index' | |
categories : req.categories | |
expenses : req.expenses | |
user : req.user | |
accounts : req.accounts | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment