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:
Dmitriy Zaporozhets 2012-04-17 20:27:18 +03:00
parent f1795a4911
commit 3250a024ef
6 changed files with 20 additions and 8 deletions

View file

@ -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