Commit 0e80e5ad authored by Nicolas Widart's avatar Nicolas Widart

Merge pull request #1 from nWidart-Modules/RedirectToRouteOnDelete

Fix the redirection on delete of a user
parents ae04c36f d7ea17c8
......@@ -121,7 +121,7 @@ class UserController extends AdminBaseController
$this->user->delete($id);
Flash::success('User deleted');
return Redirect::to('users');
return Redirect::route('dashboard.user.index');
}
}
\ No newline at end of file
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