for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tracking\Http\Controllers\Metrics;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Tracking\Models\Metrics\LarametricsRequest;
class RequestController extends Controller
{
public function index()
$requests = LarametricsRequest::orderBy('created_at', 'desc')
->get();
return view(
'rica.larametrics::requests.index', [
'requests' => $requests,
'pageTitle' => 'Laravel Requests'
]
);
}
public function show(LarametricsRequest $request)
'rica.larametrics::requests.show', [
'request' => $request,
'pageTitle' => 'Viewing Request #' . $request->id