Skip to content
代码片段 群组 项目
提交 cea65572 编辑于 作者: Vijay Hawoldar's avatar Vijay Hawoldar
浏览文件

Rename snippet blob raw route

上级 db66b4e5
No related branches found
No related tags found
无相关合并请求
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册