     yield: ->
       @selector.append @template
 
-  class window.TopicsView
+  class window.TopicsView extends CommonView
     constructor: (@topics, @selector = $('#contents')) ->
       do @clear
       do @yield

    yield: ->
      # TODO: use promises or defer
      @selector.html @template(@topic)
      new PostView(topic) for topic in @topic.posts
      @paginate @selector.find('.pagination')
      new PostNewView @topic.topic

      @selector.append '<nav class="pagination"></section>'
      @selector.find('section').append @template(topic) for topic in @topics.topics
      @paginate @selector
      @update_title 'Topics'

  class window.TopicsSideView extends TopicsView
    yield: ->
