Commit 19f505a73525b5559f04761707566ebb157fe9b6
Exists in
master
and in
4 other branches
Merge pull request #3557 from rgbkrk/grammar-showdown
s/was/were/ for plural subjects
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
app/controllers/admin/groups_controller.rb
| ... | ... | @@ -69,7 +69,7 @@ class Admin::GroupsController < Admin::ApplicationController |
| 69 | 69 | |
| 70 | 70 | def project_teams_update |
| 71 | 71 | @group.add_users_to_project_teams(params[:user_ids], params[:project_access]) |
| 72 | - redirect_to [:admin, @group], notice: 'Users was successfully added.' | |
| 72 | + redirect_to [:admin, @group], notice: 'Users were successfully added.' | |
| 73 | 73 | end |
| 74 | 74 | |
| 75 | 75 | def destroy | ... | ... |
app/controllers/admin/teams/members_controller.rb
| ... | ... | @@ -11,7 +11,7 @@ class Admin::Teams::MembersController < Admin::Teams::ApplicationController |
| 11 | 11 | user_team.add_members(user_ids, access, is_admin) |
| 12 | 12 | end |
| 13 | 13 | |
| 14 | - redirect_to admin_team_path(user_team), notice: 'Members was successfully added into Team of users.' | |
| 14 | + redirect_to admin_team_path(user_team), notice: 'Members were successfully added into Team of users.' | |
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | def edit | ... | ... |
app/controllers/groups_controller.rb
| ... | ... | @@ -73,7 +73,7 @@ class GroupsController < ApplicationController |
| 73 | 73 | |
| 74 | 74 | def team_members |
| 75 | 75 | @group.add_users_to_project_teams(params[:user_ids], params[:project_access]) |
| 76 | - redirect_to people_group_path(@group), notice: 'Users was successfully added.' | |
| 76 | + redirect_to people_group_path(@group), notice: 'Users were successfully added.' | |
| 77 | 77 | end |
| 78 | 78 | |
| 79 | 79 | def edit | ... | ... |
app/controllers/teams/members_controller.rb
| ... | ... | @@ -18,7 +18,7 @@ class Teams::MembersController < Teams::ApplicationController |
| 18 | 18 | user_team.add_members(user_ids, access, is_admin) |
| 19 | 19 | end |
| 20 | 20 | |
| 21 | - redirect_to team_members_path(user_team), notice: 'Members was successfully added into Team of users.' | |
| 21 | + redirect_to team_members_path(user_team), notice: 'Members were successfully added into Team of users.' | |
| 22 | 22 | end |
| 23 | 23 | |
| 24 | 24 | def edit | ... | ... |