diff --git a/config/application.rb b/config/application.rb index d5a69aa8a79..24ba219cf3a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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