Created
July 26, 2011 07:17
-
-
Save bithavoc/1106176 to your computer and use it in GitHub Desktop.
Sample pseudo action
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
// pseudo Loader: https://github.com/firebaseco/pseudo | |
// actions/home.js | |
var pseudo = require('pseudo') | |
pseudo.get('/', { | |
filters:['requireLogin'], | |
action:function(req, res) { | |
var greeting = this.customContext // use custom context bound values | |
// render some view for the home page | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment