Commit cea65572 authored by Vijay Hawoldar's avatar Vijay Hawoldar

Rename snippet blob raw route

parent db66b4e5
...@@ -21,7 +21,7 @@ end ...@@ -21,7 +21,7 @@ end
scope path: '-' do scope path: '-' do
get '/snippets/:snippet_id/raw/:ref/*path', get '/snippets/:snippet_id/raw/:ref/*path',
to: 'snippets/blobs#raw', to: 'snippets/blobs#raw',
as: :snippet_raw, as: :snippet_blob_raw,
format: false, format: false,
constraints: { snippet_id: /\d+/ } constraints: { snippet_id: /\d+/ }
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