Commit 55671ed8 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'id-broken-master-epics-ee' into 'master'

Do not calculate submodule links for epic's discussions

See merge request gitlab-org/gitlab-ee!14727
parents e6201da1 c30f5201
......@@ -10,6 +10,8 @@ class DiscussionSerializer < BaseSerializer
private
def with_additional_opts(opts)
return opts unless @request.project
additional_opts = {
submodule_links: Gitlab::SubmoduleLinks.new(@request.project.repository)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment