summaryrefslogtreecommitdiff
path: root/app/models/group.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-24 10:19:36 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-24 13:14:00 +0300
commit9dbd5b3cfad10b214ae5ef27c39246bbb74a5077 (patch)
treef24fbe8b42f3849f69462177c4352d84e2b76202 /app/models/group.rb
parent1a7ba2a5e8603222b51a9e9cf0ffcde68cf593d2 (diff)
downloadgitlab-ce-9dbd5b3cfad10b214ae5ef27c39246bbb74a5077.tar.gz
Revert "Change "Group#web_url" to return "/groups/twitter" rather than "/twitter"."
This reverts commit c81ff152e08d58c13efbd50c40dd2e083ac65083.
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index 6865e610718..00a595d2705 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -68,7 +68,7 @@ class Group < Namespace
end
def web_url
- Gitlab::Routing.url_helpers.group_canonical_url(self)
+ Gitlab::Routing.url_helpers.group_url(self)
end
def human_name