Temporarily redirect to /graphs/ohai/edit while I implement backwards compat with...
authordsc <dsc@wikimedia.org>
Fri, 11 May 2012 18:09:53 +0000 (11:09 -0700)
committerdsc <dsc@wikimedia.org>
Fri, 11 May 2012 18:09:53 +0000 (11:09 -0700)
lib/server/server.co

index ccbce5c..0c0ae51 100755 (executable)
@@ -188,7 +188,9 @@ app.controller require './controllers/datasource'
 
 
 app.get '/', (req, res) ->
-    res.render 'dashboard'
+    ### XXX: Temporary, while I implement backwards compat with the old data format
+    # res.render 'dashboard'
+    res.redirect '/graphs/ohai/edit'
 
 app.get '/:type/:action/?', (req, res, next) ->
     {type, action} = req.params