From a398ee2a44734079aaabbb2edfd4299a9cda8e33 Mon Sep 17 00:00:00 2001 From: Matheus Messora Date: Sat, 10 May 2014 01:56:28 -0300 Subject: [PATCH 1/2] - Included in routes.properties the correct mapping --- src/main/resources/routes.properties | 2 +- src/main/resources/routes.pt-BR.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/routes.properties b/src/main/resources/routes.properties index 7fe70c112..7a7a2e48d 100644 --- a/src/main/resources/routes.properties +++ b/src/main/resources/routes.properties @@ -83,7 +83,7 @@ TagPageController.newTagPage = /tag/{tagName}/about/new TagPageController.showTagPage = /tag/{tagName}/about UserProfileController.showProfile = /users/{user.id:[0-9]+}/{sluggedName} -UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation +UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation/{sluggedName} UserProfileController.typeByVotesWith = /users/{id}/postsByType/{type} UserProfileController.watchersByDateWith = /users/{id}/{sluggedName}/postsWatching UserProfileController.editProfile = /users/edit/{user.id:[0-9]+} diff --git a/src/main/resources/routes.pt-BR.properties b/src/main/resources/routes.pt-BR.properties index 8bf7878dc..0d5808af2 100644 --- a/src/main/resources/routes.pt-BR.properties +++ b/src/main/resources/routes.pt-BR.properties @@ -82,7 +82,7 @@ TagPageController.newTagPage = /tag/{tagName}/sobre/novo TagPageController.showTagPage = /tag/{tagName}/sobre UserProfileController.showProfile = /usuario/{user.id:[0-9]+}/{sluggedName} -UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation +UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation/{sluggedName} UserProfileController.typeByVotesWith = /users/{id}/postsByType/{type} UserProfileController.watchersByDateWith = /users/{id}/{sluggedName}/postsWatching UserProfileController.editProfile = /usuario/editar/{user.id:[0-9]+} From d5d1297fcedd5d3a59213b19246c2b9cdea558b3 Mon Sep 17 00:00:00 2001 From: Matheus Messora Date: Sat, 10 May 2014 13:56:15 -0300 Subject: [PATCH 2/2] Corrected URI {sluggedName}/reputation --- src/main/resources/routes.properties | 2 +- src/main/resources/routes.pt-BR.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/routes.properties b/src/main/resources/routes.properties index 7a7a2e48d..f11b5d950 100644 --- a/src/main/resources/routes.properties +++ b/src/main/resources/routes.properties @@ -83,7 +83,7 @@ TagPageController.newTagPage = /tag/{tagName}/about/new TagPageController.showTagPage = /tag/{tagName}/about UserProfileController.showProfile = /users/{user.id:[0-9]+}/{sluggedName} -UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation/{sluggedName} +UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/{sluggedName}/reputation UserProfileController.typeByVotesWith = /users/{id}/postsByType/{type} UserProfileController.watchersByDateWith = /users/{id}/{sluggedName}/postsWatching UserProfileController.editProfile = /users/edit/{user.id:[0-9]+} diff --git a/src/main/resources/routes.pt-BR.properties b/src/main/resources/routes.pt-BR.properties index 0d5808af2..ab15728b8 100644 --- a/src/main/resources/routes.pt-BR.properties +++ b/src/main/resources/routes.pt-BR.properties @@ -82,7 +82,7 @@ TagPageController.newTagPage = /tag/{tagName}/sobre/novo TagPageController.showTagPage = /tag/{tagName}/sobre UserProfileController.showProfile = /usuario/{user.id:[0-9]+}/{sluggedName} -UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/reputation/{sluggedName} +UserProfileController.reputationHistory = /users/{user.id:[0-9]+}/{sluggedName}/reputation UserProfileController.typeByVotesWith = /users/{id}/postsByType/{type} UserProfileController.watchersByDateWith = /users/{id}/{sluggedName}/postsWatching UserProfileController.editProfile = /usuario/editar/{user.id:[0-9]+}