Fixes api

This commit is contained in:
Sebastian Ziebell 2013-03-05 22:33:45 +01:00
parent 61cfa2a7a6
commit cce35b6d05

View file

@ -52,8 +52,7 @@ module Gitlab
:issues_enabled, :issues_enabled,
:wall_enabled, :wall_enabled,
:merge_requests_enabled, :merge_requests_enabled,
:wiki_enabled, :wiki_enabled]
:namespace_id]
@project = ::Projects::CreateContext.new(current_user, attrs).execute @project = ::Projects::CreateContext.new(current_user, attrs).execute
if @project.saved? if @project.saved?
present @project, with: Entities::Project present @project, with: Entities::Project