diff --git a/conf/routes b/conf/routes index cf2c1d360a..334a5013a9 100644 --- a/conf/routes +++ b/conf/routes @@ -45,8 +45,9 @@ GET /rel/blocks controllers.Relation.blocks # Insight POST /insights/refresh/:username controllers.Insight.refresh(username: String) POST /insights/data/:username controllers.Insight.json(username: String) -GET /@/:username/insights controllers.Insight.index(username: String) -GET /@/:username/insights/:metric/:dimension/*filters controllers.Insight.path(username: String, metric: String, dimension: String, filters: String) +GET /insights/:username controllers.Insight.index(username: String) +GET /insights/:username/:metric/:dimension controllers.Insight.path(username: String, metric: String, dimension: String, filters: String = "") +GET /insights/:username/:metric/:dimension/*filters controllers.Insight.path(username: String, metric: String, dimension: String, filters: String) # User GET /@/:username/opponents controllers.User.opponents(username: String)