Skip to content
Snippets Groups Projects
Commit 1f5ecf6c authored by Fred Chasen's avatar Fred Chasen
Browse files

use new hash syntax

parent 13c4e25d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -70,10 +70,10 @@ module Gitlab
config.middleware.use Rack::Cors do
allow do
origins '*'
resource '/api/*',
:headers => :any,
:methods => [:get, :post, :options, :put, :delete],
:expose => ['Link']
resource '/api/*',
headers: :any,
methods: [:get, :post, :options, :put, :delete],
expose: ['Link']
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment