2016-05-13 16:48:46 +07:00
|
|
|
const pathname = require('pathname-match')
|
|
|
|
|
const choo = require('../../../')
|
|
|
|
|
|
|
|
|
|
module.exports = function (params, state, send) {
|
|
|
|
|
return choo.view`
|
|
|
|
|
<span class="fl mt4 w-100 f4 b">
|
|
|
|
|
URL: ${pathname(state.location) || '/'}
|
|
|
|
|
</span>
|
|
|
|
|
`
|
|
|
|
|
}
|