From a39d03192575e0e70a44a72f48b156e6592cc25e Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 23 May 2014 17:30:54 +0200 Subject: [PATCH] Don't specify index routes They're generated by default --- assets/scripts/app/routes.coffee | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/scripts/app/routes.coffee b/assets/scripts/app/routes.coffee index a5261786..07dccbce 100644 --- a/assets/scripts/app/routes.coffee +++ b/assets/scripts/app/routes.coffee @@ -72,9 +72,7 @@ Travis.Router.map -> @route 'auth', path: '/auth' @resource 'profile', path: '/profile', -> - @route 'index', path: '/' @resource 'account', path: '/:login', -> - @route 'index', path: '/' @route 'profile', path: '/profile' @route 'notFound', path: "/*path"