   Router = Backbone.Router.extend
 
     routes:
-      '':'index'
+      '': 'index'
       '!/404': 'error404'
-      '*default':'default_router'
+      '*default': 'default_router'
 
     index: middleware.wrap ->
       view = showPage Page.IndexPage

  Modal
)->

  showPage=(View,options={},callback)->
    common.app.content.show View, options, ->
      view = common.app.content.getViewDI View
      callback? view

  class MiddlewareRouter extends Middleware
    auth:(async,args)->
      async.resolve 'auth'

  middleware = new MiddlewareRouter

      showPage Page.Error404Page

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