refactor: assign responders to actions via front controller
1 file changed, 3 insertions(+), 3 deletions(-)
changed files
M src/responders.js → src/responders.js
@@ -93,7 +93,7 @@ baseIndentLevel, postIndentLevel, indentForTemplate, - home(ctx, config, posts) { + home(ctx, config, { posts }) { ctx.type = "html"; ctx.body = layout(@@ -105,7 +105,7 @@ }) ); }, - list(ctx, config, listType, listName, posts) { + list(ctx, config, { listType, listName, posts }) { ctx.type = "html"; ctx.body = layout(@@ -117,7 +117,7 @@ }) ); }, - post(ctx, config, post) { + post(ctx, config, { post }) { ctx.type = "html"; ctx.body = layout(