public airshipLand ( ) |
public function airshipLand()
{
parent::airshipLand();
if (!$this->isSuperUser()) {
\Airship\redirect($this->airship_cabin_prefix);
}
}
/** * This function is called after the dependencies have been injected by * AutoPilot. Think of it as a user-land constructor. */ public function airshipLand() { parent::airshipLand(); $this->perms = $this->blueprint('Permissions'); $this->users = $this->blueprint('UserAccounts'); $this->storeLensVar('active_submenu', ['Admin', 'Crew']); $this->storeLensVar('active_link', 'bridge-link-admin-crew-perms'); }