summaryrefslogtreecommitdiff
path: root/app/models/group.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-26 21:13:58 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-27 16:16:15 +0300
commit3be445c58e820035a7da6800beba6a13f3ca742f (patch)
treeeac8d7dd08ee288976e70b553b99c37f33c41e4b /app/models/group.rb
parentb5797168ec529c179342b8c292c2b52f0cbe41ee (diff)
downloadgitlab-ce-3be445c58e820035a7da6800beba6a13f3ca742f.tar.gz
Revert "Revert "Change "Group#web_url" to return "/groups/twitter" rather than "/twitter".""dz-revert-revert
This reverts commit 9dbd5b3cfad10b214ae5ef27c39246bbb74a5077.
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 552e1154df6..d9e90cd256a 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_url(self)
+ Gitlab::Routing.url_helpers.group_canonical_url(self)
end
def human_name