lib/carte/client/views/content.cjsx in carte-server-0.0.9 vs lib/carte/client/views/content.cjsx in carte-server-0.0.10
- old
+ new
@@ -35,10 +35,10 @@
title.push(String(k).capitalize() + ': ' + v)
title = title.join(', ')
title = 'search: ' + cards.query.title + ' (' + title + ')' if cards.query.title
title += ' - ' + config.title
document.title = title
- <List key='list' cards={cards} showNav=true />
+ <List key='list' router={@props.router} cards={cards} showNav=true />
when "show"
console.log 'show'
cards = new CardCollection()
cards.fetching = true
card = new CardModel(title: @props.router.title)