Skip to content
Snippets Groups Projects
Commit 7acaad13 authored by Dicky Adrian's avatar Dicky Adrian
Browse files

fix '/penjadwalan' when not authenticated

parent 6072a55d
No related merge requests found
Pipeline #7817 failed with stage
......@@ -22,6 +22,11 @@ use Illuminate\Support\Facades\Auth;
class PenjadwalanController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function showPenjadwalanPage(){
$manajer = Auth::user()->isManajer();
if($manajer) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment