Renamed functions to match hook names

This commit is contained in:
Egil Moeller 2012-02-25 16:53:15 +01:00
parent f2cfb4eee5
commit 6754eed9b4
6 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
var padManager = require('./db/PadManager');
exports.expressServer = function (hook_name, args, cb) {
exports.expressCreateServer = function (hook_name, args, cb) {
//redirects browser to the pad's sanitized url if needed. otherwise, renders the html
args.app.param('pad', function (req, res, next, padId) {
//ensure the padname is valid and the url doesn't end with a /