summaryrefslogtreecommitdiff
path: root/lib/api/lint.rb
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-08-30 15:38:36 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-07 12:10:49 +0200
commit0d81fd05b905e5fe41fee6bb48214748ccf85e78 (patch)
treeecda31a5ba5559754a1e2cbbd9399fb9e9f22bd9 /lib/api/lint.rb
parent1a7a900d8e4a4a3a65b33054168fdd86f252b757 (diff)
downloadgitlab-ce-0d81fd05b905e5fe41fee6bb48214748ccf85e78.tar.gz
Code refactor
Diffstat (limited to 'lib/api/lint.rb')
-rw-r--r--lib/api/lint.rb2
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])