 
   @route 'blogShow',
     path: '/blog/:slug'
-    controller: 'BlogController'
+
     notFoundTemplate: 'blogNotFound'
 
     onRun: ->

class @BlogController extends RouteController
  onBeforeAction: ->
    if not @ready() and Template['loading']
      @render 'loading'

Router.map ->



  @route 'blogIndex',
    path: '/blog'

    onRun: ->
      if Blog.settings.blogIndexTemplate
