       "/projects/#{owner}/#{name}/talk"
     else
       "/talk"
+  
+  updateBoard: (boardId) ->
+    if boardId?
+      talkClient
+        .type 'boards'
+        .get boardId
+        .then (board) =>
+          @setState {board}
+        .catch @crumbCatch
+    else
+      @setState board: null
 
+  updateDiscussion: (discussionId) ->
+    if discussionId?
+      talkClient
+        .type 'discussions'
+        .get discussionId
+        .then (discussion) =>
+          @setState {discussion}
+        .catch @crumbCatch
+    else
+      @setState discussion: null
+      
   render: ->
-    params = @props.params
-    onBoard = params.board?
-    onDiscussion = onBoard and params.discussion?
+    onBoard = @state.board?
+    onDiscussion = onBoard and @state.discussion?
     onRecents = @props.route.path.match /\/talk\/recents/
 
     <div className="talk-breadcrumbs">

React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
{Link} = require 'react-router'
PromiseRenderer = require '../components/promise-renderer'

module.exports = React.createClass
  displayName: 'TalkBreadcrumbs'

  contextTypes:
    router: React.PropTypes.object.isRequired

          </span>}

        {if onBoard
          <span>
            {if onDiscussion
              <span>
                {@boardLink @state.board}
                <span>&nbsp;>&nbsp;{@state.discussion?.title}</span>
              </span>
            else if not onDiscussion and not onRecents
              <span>{@state.board?.title}</span>}
            {if onRecents
              <span>
                {@boardLink @state.board}
                <span>&nbsp;>&nbsp;Recents</span>
              </span>}
          </span>
        else if onRecents
          <span>&nbsp;>&nbsp;Recents</span>}
      </div>
