From 1f5ecf6c502b1dffa26986b1e62cf46cbc58f981 Mon Sep 17 00:00:00 2001
From: Fred Chasen <fchasen@gmail.com>
Date: Fri, 23 Jan 2015 15:33:20 -0500
Subject: [PATCH] use new hash syntax

---
 config/application.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config/application.rb b/config/application.rb
index d5a69aa8a7..24ba219cf3 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
 
-- 
2.30.9