diff options
| author | Adam Niedzielski <adamsunday@gmail.com> | 2016-10-21 13:53:38 +0200 |
|---|---|---|
| committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-10-21 13:53:38 +0200 |
| commit | c81ff152e08d58c13efbd50c40dd2e083ac65083 (patch) | |
| tree | 685276faaa136fcbd3ae2bd2d52401d74ae1c35a /app/models/group.rb | |
| parent | 9df2115a4df5a964774128fdbbe1b3e695105536 (diff) | |
| download | gitlab-ce-c81ff152e08d58c13efbd50c40dd2e083ac65083.tar.gz | |
Change "Group#web_url" to return "/groups/twitter" rather than "/twitter".
Bring back the old behaviour which was changed by 6b90ccb9.
Fixes #23527.
Diffstat (limited to 'app/models/group.rb')
| -rw-r--r-- | app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 00a595d2705..6865e610718 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 |
