diff options
author | Maxime Brugidou <m.brugidou@criteo.com> | 2013-12-09 11:07:32 +0100 |
---|---|---|
committer | Maxime Brugidou <m.brugidou@criteo.com> | 2013-12-09 11:07:32 +0100 |
commit | 56d4788264ce2739f5dc89f85f309b69cb3ab692 (patch) | |
tree | 90226ad0072287531fbfe683feebb02ced00bb03 /lib/api | |
parent | 31cdb7a405e5a3683b12a2ac7b4f195444552a96 (diff) | |
download | gitlab-ce-56d4788264ce2739f5dc89f85f309b69cb3ab692.tar.gz |
Add import_url param in API projects create
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/projects.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 003533fb59a..66e0d1ba3ef 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -99,7 +99,8 @@ module API :snippets_enabled, :namespace_id, :public, - :visibility_level] + :visibility_level, + :import_url] attrs = map_public_to_visibility_level(attrs) @project = ::Projects::CreateContext.new(current_user, attrs).execute if @project.saved? |