From 79de3976bf01d97dc2cc648b6e361c88253da10e Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Fri, 11 Oct 2013 12:02:43 -0400 Subject: [PATCH] removed non existant paths from templates/config.json, added starts with to regexes --- public/templates/config.json | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/public/templates/config.json b/public/templates/config.json index fd65bf3773..f41ecdaf19 100644 --- a/public/templates/config.json +++ b/public/templates/config.json @@ -15,19 +15,17 @@ "^admin/gplus.*": "admin/gplus", "^admin/motd/?$": "admin/motd", "^admin/groups/?$": "admin/groups", - "users/sort-posts": "users", - "users/latest": "users", - "users/sort-reputation": "users", - "users/search": "users", - "user.*edit": "accountedit", - "user.*following": "following", - "user.*followers": "followers", - "user.*settings": "accountsettings", - "user.*favourites": "favourites", - "user/.*": "account", + "^users/sort-posts": "users", + "^users/latest": "users", + "^users/sort-reputation": "users", + "^users/search": "users", + "^user.*edit": "accountedit", + "^user.*following": "following", + "^user.*followers": "followers", + "^user.*settings": "accountsettings", + "^user.*favourites": "favourites", + "^user/.*": "account", - "popular": "category", - "active": "category", "reset/.*": "reset_code" }, "force_refresh": {