use new hash syntax

This commit is contained in:
Fred Chasen 2015-01-23 15:33:20 -05:00
parent 13c4e25d6f
commit 1f5ecf6c50

View file

@ -71,9 +71,9 @@ module Gitlab
allow do allow do
origins '*' origins '*'
resource '/api/*', resource '/api/*',
:headers => :any, headers: :any,
:methods => [:get, :post, :options, :put, :delete], methods: [:get, :post, :options, :put, :delete],
:expose => ['Link'] expose: ['Link']
end end
end end