summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFred Chasen <fchasen@gmail.com>2015-01-23 15:33:20 -0500
committerFred Chasen <fchasen@gmail.com>2015-01-23 15:33:20 -0500
commit1f5ecf6c502b1dffa26986b1e62cf46cbc58f981 (patch)
treef381e63754543169a7af3ae5cab6bd4cd9ace51e /config
parent13c4e25d6fd7ce4ae34340667d6ee5640ff925a1 (diff)
downloadgitlab-ce-1f5ecf6c502b1dffa26986b1e62cf46cbc58f981.tar.gz
use new hash syntax
Diffstat (limited to 'config')
-rw-r--r--config/application.rb8
1 files changed, 4 insertions, 4 deletions
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