diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-17 21:27:18 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-17 21:27:18 +0400 |
commit | 3250a024ef82bc6bb89f7c1dafdc824b6e09439b (patch) | |
tree | 8acc3c2fa1a747de41c1decbc6b3cf66b4498db6 /app/controllers/admin | |
parent | f1795a491145740235fd36560bf630d1773cf07a (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')
-rw-r--r-- | app/controllers/admin/projects_controller.rb | 2 |
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 |