提交 1f5ecf6c 编写于 作者: F Fred Chasen

use new hash syntax

上级 13c4e25d
......@@ -71,9 +71,9 @@ module Gitlab
allow do
origins '*'
resource '/api/*',
:headers => :any,
:methods => [:get, :post, :options, :put, :delete],
:expose => ['Link']
headers: :any,
methods: [:get, :post, :options, :put, :delete],
expose: ['Link']
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册