1. Improved admin -> new project form
2. Fixed bug: post-receive file was not added when create project via admin
This commit is contained in:
parent
f1795a4911
commit
3250a024ef
6 changed files with 20 additions and 8 deletions
|
@ -34,6 +34,8 @@ class Admin::ProjectsController < ApplicationController
|
|||
params[:project_access]
|
||||
)
|
||||
|
||||
@admin_project.update_repository
|
||||
|
||||
redirect_to [:admin, @admin_project], notice: 'Project was successfully updated.'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue