Skip to content

Commit

Permalink
Merge pull request #9 from netcore/master
Browse files Browse the repository at this point in the history
fixed session url issue
  • Loading branch information
speekadievs authored Jan 23, 2018
2 parents 0f22042 + 3936b60 commit bcdb7cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Http/Controllers/Admin/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public function __construct()
*/
public function index()
{
session()->put('crud-active-model', get_class($this->getModel()));
session()->put('crud-route-name', request()->route()->getName());

return $this->view('user::users.index', [
'model' => $this->getModel(),
'config' => $this->getConfig(),
Expand Down

0 comments on commit bcdb7cf

Please sign in to comment.