Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/mahesh/voyager-cms/blame/branch/master/app/Http/Controllers/SliderController.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

18 lines
311 B

2 years ago
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use TCG\Voyager\Facades\Voyager;
class SliderController extends Controller
{
public function index(){
return Voyager::view('voyager::slider.index');
}
public function store(Request $request){
dd($request->all());
}
}