/**
  * Instantiate the controller.
  *
  * @param  \Arcanesoft\Contracts\Auth\Models\Permission  $permission
  */
 public function __construct(Permission $permission)
 {
     parent::__construct();
     $this->permission = $permission;
     $this->setCurrentPage('auth-permissions');
     $this->addBreadcrumbRoute('Permissions', 'admin::auth.permissions.index');
 }
Exemple #2
0
 /**
  * Instantiate the controller.
  *
  * @param  \Arcanesoft\Contracts\Auth\Models\User  $user
  */
 public function __construct(User $user)
 {
     parent::__construct();
     $this->user = $user;
     $this->setCurrentPage('auth-users');
     $this->addBreadcrumbRoute('Users', 'admin::auth.users.index');
 }
Exemple #3
0
 /**
  * Instantiate the controller.
  *
  * @param  \Arcanesoft\Contracts\Auth\Models\Role  $role
  */
 public function __construct(Role $role)
 {
     parent::__construct();
     $this->role = $role;
     $this->setCurrentPage('auth-roles');
     $this->addBreadcrumbRoute('Roles', 'admin::auth.roles.index');
 }
 /**
  * PasswordResetsController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setCurrentPage('auth-password-resets');
     $this->addBreadcrumbRoute('Password Resets', 'admin::auth.password-resets.index');
 }
 /**
  * Instantiate the controller.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setCurrentPage('auth-dashboard');
 }
 /**
  * ProfileController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->addBreadcrumbRoute('Profile', 'admin::auth.profile.index');
     $this->setCurrentPage('auth-profile');
 }