-
-
Save sam452/9514e4d9057b88d83c44 to your computer and use it in GitHub Desktop.
WSOD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use Cache; | |
// use Zendesk\API\HttpClient as Zendesk; | |
use Flash; | |
use Facades; | |
// use Huddle\Zendesk\Services\ZendeskService; | |
// use App\Facades\Zendesk as Zendesk; | |
// use Rossedman\Teamwork\TeamworkServiceProvider as Teamwork; | |
// use Teamwork; | |
// use Huddle\Zendesk\Facades\Zendesk as Zendesk; | |
// use Zendesk; | |
class HomeController extends Controller | |
{ | |
public function __construct() { | |
// $this->zendesk_service = $zendesk_service; | |
} | |
public function index() { | |
$page_title = "Home"; | |
$page_description = "This is the home page"; | |
// $x = Teamwork::people()->all(); | |
// $ztickets = Zendesk::tickets()->findAll(); | |
// $tickets = $ztickets->tickets; | |
$ticket = ''; | |
// return view('home', compact('page_title', 'page_description', 'tickets')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment