18 lines
454 B
PHP
18 lines
454 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Judging;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Models\PrelimDefinition;
|
|
|
|
class PrelimJudgingController extends Controller
|
|
{
|
|
public function prelimEntryList(PrelimDefinition $prelimDefinition)
|
|
{
|
|
if (auth()->user()->cannot('judge', $prelimDefinition)) {
|
|
return redirect()->route('dashboard')->with('error', 'You are not assigned to judge that prelim audition.');
|
|
}
|
|
|
|
}
|
|
}
|