Commit 04c798f3 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'vij-snippet-raw-url-change' into 'master'

Rename snippet blob raw route

Closes #224516

See merge request gitlab-org/gitlab!35335
parents cdfb5776 cea65572
......@@ -21,7 +21,7 @@ end
scope path: '-' do
get '/snippets/:snippet_id/raw/:ref/*path',
to: 'snippets/blobs#raw',
as: :snippet_raw,
as: :snippet_blob_raw,
format: false,
constraints: { snippet_id: /\d+/ }
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