Commit 65e8b181 authored by Kyle Kelley's avatar Kyle Kelley

s/was/were/ for plural subjects

parent ed90090a
...@@ -69,7 +69,7 @@ class Admin::GroupsController < Admin::ApplicationController ...@@ -69,7 +69,7 @@ class Admin::GroupsController < Admin::ApplicationController
def project_teams_update def project_teams_update
@group.add_users_to_project_teams(params[:user_ids], params[:project_access]) @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 end
def destroy def destroy
......
...@@ -11,7 +11,7 @@ class Admin::Teams::MembersController < Admin::Teams::ApplicationController ...@@ -11,7 +11,7 @@ class Admin::Teams::MembersController < Admin::Teams::ApplicationController
user_team.add_members(user_ids, access, is_admin) user_team.add_members(user_ids, access, is_admin)
end 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 end
def edit def edit
......
...@@ -73,7 +73,7 @@ class GroupsController < ApplicationController ...@@ -73,7 +73,7 @@ class GroupsController < ApplicationController
def team_members def team_members
@group.add_users_to_project_teams(params[:user_ids], params[:project_access]) @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 end
def edit def edit
......
...@@ -18,7 +18,7 @@ class Teams::MembersController < Teams::ApplicationController ...@@ -18,7 +18,7 @@ class Teams::MembersController < Teams::ApplicationController
user_team.add_members(user_ids, access, is_admin) user_team.add_members(user_ids, access, is_admin)
end 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 end
def edit 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