diff options
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 0bd50fdb2..ce2e39fac 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -110,7 +110,7 @@ class ProjectsController < ApplicationController @project.repository = nil
when "1"
@project.repository ||= Repository.new
- @project.repository.attributes = params[:repository]
+ @project.repository.update_attributes params[:repository]
end
end
@project.attributes = params[:project]
|