mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
Renamed functions to match hook names
This commit is contained in:
parent
f2cfb4eee5
commit
6754eed9b4
6 changed files with 10 additions and 10 deletions
|
@ -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 /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue