diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 19:01:39 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 19:01:39 +0300 |
commit | dc038a7108f3e61e708310b5a9ab4b193723366b (patch) | |
tree | 3a44cb7d9376dff22b778a22f2473bd404677b8e /app/controllers/users_groups_controller.rb | |
parent | 3232f547ac250096f0f4baefff1bc245be1455ac (diff) | |
download | gitlab-ce-dc038a7108f3e61e708310b5a9ab4b193723366b.tar.gz |
Rename Group#people to Group#members
Diffstat (limited to 'app/controllers/users_groups_controller.rb')
-rw-r--r-- | app/controllers/users_groups_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/users_groups_controller.rb b/app/controllers/users_groups_controller.rb index c30034d7d0e..36eb8dbbfa4 100644 --- a/app/controllers/users_groups_controller.rb +++ b/app/controllers/users_groups_controller.rb @@ -9,7 +9,7 @@ class UsersGroupsController < ApplicationController def create @group.add_users(params[:user_ids].split(','), params[:group_access]) - redirect_to people_group_path(@group), notice: 'Users were successfully added.' + redirect_to members_group_path(@group), notice: 'Users were successfully added.' end def update @@ -21,7 +21,7 @@ class UsersGroupsController < ApplicationController @users_group.destroy unless @users_group.user == @group.owner respond_to do |format| - format.html { redirect_to people_group_path(@group), notice: 'User was successfully removed from group.' } + format.html { redirect_to members_group_path(@group), notice: 'User was successfully removed from group.' } format.js { render nothing: true } end end |