all repos — archive/homestead @ be533ddc740c77551c714836da08a651b81825b6

My future indieweb platform

refactor: assign responders to actions via front controller

Alan Pearce
commit

be533ddc740c77551c714836da08a651b81825b6

parent

f1dabb589af4cfaf15d04ff7c399f8a9a2d5223a

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M src/responders.jssrc/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(