Fix project default branch change
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c5678d4ecb
commit
2a4c73c0a2
|
@ -189,7 +189,7 @@ class ProjectsController < ApplicationController
|
||||||
def project_params
|
def project_params
|
||||||
params.require(:project).permit(
|
params.require(:project).permit(
|
||||||
:name, :path, :description, :issues_tracker, :label_list,
|
:name, :path, :description, :issues_tracker, :label_list,
|
||||||
:issues_enabled, :merge_requests_enabled, :snippets_enabled, :issues_tracker_id,
|
:issues_enabled, :merge_requests_enabled, :snippets_enabled, :issues_tracker_id, :default_branch,
|
||||||
:wiki_enabled, :visibility_level, :import_url, :last_activity_at, :namespace_id
|
:wiki_enabled, :visibility_level, :import_url, :last_activity_at, :namespace_id
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue