From b1b721ff6ddae4b2a6bb0ee36338e3a61f838810 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 6 Jul 2013 00:04:35 +0000 Subject: [PATCH] gender neutral source comment at app/controllers/projects_controller.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11987 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 968898411..ef1b5c4d2 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -82,7 +82,7 @@ class ProjectsController < ApplicationController if validate_parent_id && @project.save @project.set_allowed_parent!(params[:project]['parent_id']) if params[:project].has_key?('parent_id') - # Add current user as a project member if he is not admin + # Add current user as a project member if current user is not admin unless User.current.admin? r = Role.givable.find_by_id(Setting.new_project_user_role_id.to_i) || Role.givable.first m = Member.new(:user => User.current, :roles => [r])