Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-17 21:27:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-17 21:27:18 +0400
commit3250a024ef82bc6bb89f7c1dafdc824b6e09439b (patch)
tree8acc3c2fa1a747de41c1decbc6b3cf66b4498db6 /app/controllers/admin/projects_controller.rb
parentf1795a491145740235fd36560bf630d1773cf07a (diff)
1. Improved admin -> new project form
2. Fixed bug: post-receive file was not added when create project via admin
Diffstat (limited to 'app/controllers/admin/projects_controller.rb')
-rw-r--r--app/controllers/admin/projects_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb
index 8f1376540c8..e4b97368fc5 100644
--- a/app/controllers/admin/projects_controller.rb
+++ b/app/controllers/admin/projects_controller.rb
@@ -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