model = app(Conveyancing::class); $this->action = $this->getAction(); // Determine if the user is authorized to perform the action. return $this->can($this->action); } }