Skip to content

Use `Snippet#to_reference` directly

Lin Jen-Shin requested to merge godfat/gitlab-ce:prefer-to_reference into master

What does this MR do?

Instead of hard coding snippet reference, we could just use the existing method for that.

Why was this MR needed?

To address https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4338#note_12166325 from @DouweM

/cc @jschatz1

Merge request reports