From dddb0f72675774511af34c205771260fa09e13fe Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 2 Jun 2016 02:46:49 -0700 Subject: [PATCH] Fixed group error message --- app/Http/Controllers/GroupsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/GroupsController.php b/app/Http/Controllers/GroupsController.php index 50951e6955..d72dc82c89 100755 --- a/app/Http/Controllers/GroupsController.php +++ b/app/Http/Controllers/GroupsController.php @@ -70,7 +70,7 @@ class GroupsController extends Controller $group->permissions = json_encode(Input::get('permission')); if ($group->save()) { - return redirect()->to("admin/groups")->with('success', trans('admin/groups/message.create.success')); + return redirect()->to("admin/groups")->with('success', trans('admin/groups/message.success.create')); } return redirect()->back()->withInput()->withErrors($group->getErrors()); @@ -119,7 +119,7 @@ class GroupsController extends Controller if (!config('app.lock_passwords')) { if ($group->save()) { - return redirect()->to("admin/groups")->with('success', trans('admin/groups/message.create.success')); + return redirect()->to("admin/groups")->with('success', trans('admin/groups/message.success.update')); } return redirect()->back()->withInput()->withErrors($group->getErrors());