File: D:/HostingSpaces/SBogers10/sportivo.komma.pro/app/Komma/References/ReferenceController.php
<?php
namespace Komma\References;
use Carbon\Carbon;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Response;
use Illuminate\Support\Facades\View;
class ReferenceController extends Controller
{
protected $referenceService;
public function __construct(ReferenceService $referenceService)
{
$this->referenceService = $referenceService;
}
public function getReferences(){
return Response::json($this->referenceService->getRatings());
}
public function facebook(){
//$this->referenceService->connectToFacebook();
//return \View::make('layouts.partials.facebook');
}
}