22 lines
468 B
PHP
22 lines
468 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
class KomuditiController extends Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth');
|
|
}
|
|
|
|
public function index(){
|
|
$auth_user = Auth::user();
|
|
$api_url = config('api.url');
|
|
$user_name = $auth_user['name'];
|
|
return view('operasi.komuditi.index',compact('user_name','api_url'));
|
|
}
|
|
}
|