examples: update mailbox

This commit is contained in:
Yoshua Wuyts
2016-05-23 04:00:29 +09:00
parent 24b9be7c8d
commit 300b6325a9
10 changed files with 22 additions and 19 deletions
+2 -1
View File
@@ -2,9 +2,10 @@ const pathname = require('pathname-match')
const choo = require('../../../')
module.exports = function (params, state, send) {
const location = state.app.location
return choo.view`
<span class="fl mt4 w-100 f4 b">
URL: ${pathname(state.location) || '/'}
URL: ${pathname(location) || '/'}
</span>
`
}