Download core/app/Http/Controllers/TicketController.php from pnacorp/codeplus: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/pnacorp/codeplus/resolve/main/core/app/Http/Controllers/TicketController.php
- Command line
-
hf download hf://pnacorp/codeplus/core/app/Http/Controllers/TicketController.php
-
curl -L -o TicketController.php https://huggingface.co/pnacorp/codeplus/resolve/main/core/app/Http/Controllers/TicketController.php
505 Bytes
| namespace App\Http\Controllers; | |
| use App\Traits\SupportTicketManager; | |
| class TicketController extends Controller | |
| { | |
| use SupportTicketManager; | |
| public function __construct() | |
| { | |
| parent::__construct(); | |
| $this->layout = 'frontend'; | |
| $this->redirectLink = 'ticket.view'; | |
| $this->userType = 'user'; | |
| $this->column = 'user_id'; | |
| $this->user = auth()->user(); | |
| if ($this->user) { | |
| $this->layout = 'master'; | |
| } | |
| } | |
| } | |