Yuzayu authorization out of the box.
Created controller OrderController
<?php namespace App\Http\Controllers; use App\Http\Requests; use Illuminate\Http\Request; class OrderController extends Controller { public function order() { return view('order'); } } in the route
Route::get('/order', 'OrderController@order') I tried it like this, but it does not work:
Route::get('/order', 'OrderController@order')->middleware('guest'); Which way to drip? thank you in advance