   'common'
   'view/page'
   'view/modal'
-],(
+], (
   Backbone
   Middleware
   common

      showPage Page.Error404Page

    default_router:->
      @navigate '!/404', {trigger:true,replace:true}

  Router = Backbone.Router.extend

    routes:
      '': 'index'
      '!/404': 'error404'
      '*default': 'default_router'

    index: middleware.wrap ->
      view = showPage Page.IndexPage
