summaryrefslogtreecommitdiff
path: root/app/models/group.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-07-30 11:56:15 +0200
committerDouwe Maan <douwe@gitlab.com>2015-07-30 11:56:15 +0200
commitb8066e2cd0c8ae8384b68c81ea3a6c071cd44c51 (patch)
tree6d2df4afbcfc335ac5dcb4b3ab3877e441827360 /app/models/group.rb
parent72c552c2d4ea985a9ab1470ba2e44fc7e52673d9 (diff)
downloadgitlab-ce-b8066e2cd0c8ae8384b68c81ea3a6c071cd44c51.tar.gz
No more web url
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index 885d3b1e5ab..cfb8faa1491 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -17,7 +17,6 @@ require 'carrierwave/orm/activerecord'
require 'file_size_validator'
class Group < Namespace
- include Rails.application.routes.url_helpers
include Referable
has_many :group_members, dependent: :destroy, as: :source, class_name: 'GroupMember'
@@ -63,10 +62,6 @@ class Group < Namespace
end
end
- def web_url
- group_url(self)
- end
-
def owners
@owners ||= group_members.owners.map(&:user)
end