Commit c0761d07 authored by Walmyr Lima's avatar Walmyr Lima

Simplify api fabrication of epic

Now that epics expose a web_url the deleted workaround is not
needed anymore.
parent f6e5b2da
...@@ -39,12 +39,6 @@ module QA ...@@ -39,12 +39,6 @@ module QA
end end
end end
def resource_web_url(resource)
super
rescue ResourceURLMissingError
"#{group.web_url}/-/epics/#{iid}"
end
def api_get_path def api_get_path
"/groups/#{group.id}/epics/#{id}" "/groups/#{group.id}/epics/#{id}"
end end
......
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