diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-08-30 15:38:36 +0200 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-07 12:10:49 +0200 |
commit | 0d81fd05b905e5fe41fee6bb48214748ccf85e78 (patch) | |
tree | ecda31a5ba5559754a1e2cbbd9399fb9e9f22bd9 /lib/api/lint.rb | |
parent | 1a7a900d8e4a4a3a65b33054168fdd86f252b757 (diff) | |
download | gitlab-ce-0d81fd05b905e5fe41fee6bb48214748ccf85e78.tar.gz |
Code refactor
Diffstat (limited to 'lib/api/lint.rb')
-rw-r--r-- | lib/api/lint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/lint.rb b/lib/api/lint.rb index 98010cf3b68..ec9c8c710e4 100644 --- a/lib/api/lint.rb +++ b/lib/api/lint.rb @@ -5,7 +5,7 @@ module API requires :content, type: String, desc: 'Content of .gitlab-ci.yml' end - namespace 'ci' do + namespace :ci do post '/lint' do errors = Ci::GitlabCiYamlProcessor.validation_message(params[:content]) |