• Sean McGivern's avatar
    Fix image webhook rewriting for uploads · 0bcfd0ad
    Sean McGivern authored
    This rewrote URLs to be absolute URLs. However, for uploads (the most
    common case), we actually need them to point to not just the GitLab
    instance, but the project they're from. Thankfully, we can normally get
    that information from the object we're building the hook for.
    0bcfd0ad
base_builder_spec.rb 3.39 KB