diff options
author | Fred Chasen <fchasen@gmail.com> | 2015-01-23 15:30:48 -0500 |
---|---|---|
committer | Fred Chasen <fchasen@gmail.com> | 2015-01-23 15:30:48 -0500 |
commit | 13c4e25d6fd7ce4ae34340667d6ee5640ff925a1 (patch) | |
tree | f6c0e6bc6899efddbaef68cf6d88125c7a24b642 /config/application.rb | |
parent | 85b3c87b7f35843f26a9ead60f0bbfcb1d64dc2a (diff) | |
download | gitlab-ce-13c4e25d6fd7ce4ae34340667d6ee5640ff925a1.tar.gz |
Split up line and use single qoutes to declare Cors settings
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index ac21d23294f..d5a69aa8a79 100644 --- a/config/application.rb +++ b/config/application.rb @@ -70,7 +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 |