     }]
     
     initialize: (options = {}) ->
-      @set('toc', [])
+      @set('toc', toc)
 
       @fetch
         success: () => @load(options.page)

      @get('currentPage')?.set('active', false)
      @set('currentPage', page)
      page.set('active', true)

      if not page.loaded
        page.fetch
          success: () -> page.loaded = true

    nextPage: () ->
      page = @get('page')

  Backbone = require('backbone')
  settings = require('cs!settings')
  Collection = require('cs!models/content/collection')
  toc = require('cs!collections/toc')
  Page = require('cs!models/content/page')
  require('backbone-associations')

