Answer the question
In order to leave comments, you need to log in
Why doesn't it find the validate method?
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ContentController extends Controller
{
public function addResource(Request $request)
{
$url = $request->validate($request, [
'url' => 'required|url',
]);
}}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question