Commit 19f505a7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3557 from rgbkrk/grammar-showdown

s/was/were/ for plural subjects
parents 238d24fc 65e8b181
......@@ -69,7 +69,7 @@ class Admin::GroupsController < Admin::ApplicationController
def project_teams_update
@group.add_users_to_project_teams(params[:user_ids], params[:project_access])
redirect_to [:admin, @group], notice: 'Users was successfully added.'
redirect_to [:admin, @group], notice: 'Users were successfully added.'
end
def destroy
......
......@@ -11,7 +11,7 @@ class Admin::Teams::MembersController < Admin::Teams::ApplicationController
user_team.add_members(user_ids, access, is_admin)
end
redirect_to admin_team_path(user_team), notice: 'Members was successfully added into Team of users.'
redirect_to admin_team_path(user_team), notice: 'Members were successfully added into Team of users.'
end
def edit
......
......@@ -73,7 +73,7 @@ class GroupsController < ApplicationController
def team_members
@group.add_users_to_project_teams(params[:user_ids], params[:project_access])
redirect_to people_group_path(@group), notice: 'Users was successfully added.'
redirect_to people_group_path(@group), notice: 'Users were successfully added.'
end
def edit
......
......@@ -18,7 +18,7 @@ class Teams::MembersController < Teams::ApplicationController
user_team.add_members(user_ids, access, is_admin)
end
redirect_to team_members_path(user_team), notice: 'Members was successfully added into Team of users.'
redirect_to team_members_path(user_team), notice: 'Members were successfully added into Team of users.'
end
def edit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment