From dbe46ae90ca5b2125664c104338799ea7acd21af Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Thu, 15 Jun 2017 15:38:22 -0500 Subject: Use groupPath on the client instead of webUrl --- app/assets/javascripts/groups/components/group_item.vue | 6 +++--- app/assets/javascripts/groups/stores/groups_store.js | 1 + spec/javascripts/groups/mock_data.js | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 32815b9f73e..b1db34b9c50 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -27,7 +27,7 @@ export default { if (this.group.hasSubgroups) { eventHub.$emit('toggleSubGroups', this.group); } else { - window.location.href = this.group.webUrl; + window.location.href = this.group.groupPath; } } }, @@ -192,7 +192,7 @@ export default {