diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-22 00:46:34 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-22 00:46:34 +0400 |
commit | 9803e0885e87c4e578d651bd1b1ce300a03f88a7 (patch) | |
tree | 872851e46b2e070d982c425e7ca200a45acf39fc /app/controllers/admin | |
parent | 1c22d4f50f6a89c85b17e6b5351bcf351bf35e27 (diff) |
Project sidebar improved
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb index 2c6363c6f3e..868bec7c9fe 100644 --- a/app/controllers/admin/projects_controller.rb +++ b/app/controllers/admin/projects_controller.rb @@ -52,7 +52,7 @@ class Admin::ProjectsController < ApplicationController def update @admin_project = Project.find_by_code(params[:id]) - owner_id = params[:project][:owner_id] + owner_id = params[:project].delete(:owner_id) if owner_id @admin_project.owner = User.find(owner_id) |