UserRouter

UserRouter

Routes URLs to handle the user dashboard. Mostly just shows the user a list of their corpora so they can switch between corpora.

Constructor

new UserRouter()

Source:
Routes URLs to handle the user dashboard. Mostly just shows the user a list of their corpora so they can switch between corpora.

Extends

  • Backbone.Router

Methods

showCorpusDashboard(dbname)

Source:
Loads the requested corpus, and redirects the user to the corpus dashboard
Parameters:
Name Type Description
dbname String The name of the corpus this datum is from.

showDashboard()

Source:
Displays the dashboard view of the user loaded in authentication

showFullscreenUser()

Source:
Displays the dashboard view of the user loaded in authentication