diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 171a5da6420c92a76bb39b3985697c9278eb6b22..67d2c396b324a22074904f9352c931526c39840b 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -56,10 +56,6 @@ module API expose :id expose :name, :name_with_namespace expose :path, :path_with_namespace - - expose :web_url do |project, options| - Gitlab::Application.routes.url_helpers.namespace_project_url(project.namespace, project) - end end class Project < Grape::Entity