router: change order of arguments

fixup! freeze state & rename app ns to location
This commit is contained in:
Yoshua Wuyts
2016-07-02 22:54:35 +02:00
parent c679e37d3a
commit 6407188ee9
15 changed files with 85 additions and 50 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const html = require('../../../html')
module.exports = function (params, state, send) {
module.exports = function (state, prev, send) {
const error = state.app.errors[0]
const title = state.api.title
return html`