Skip to content

Instantly share code, notes, and snippets.

@sam452
Forked from PureSingh/zendesk facade try
Last active March 25, 2016 18:58
Show Gist options
  • Save sam452/9514e4d9057b88d83c44 to your computer and use it in GitHub Desktop.
Save sam452/9514e4d9057b88d83c44 to your computer and use it in GitHub Desktop.
WSOD
<?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