Question:

Look at the code snippet. If that middleware fails, what HTTP code would be returned?
 

Route::put('/post/{post}', function (Post $post) {
    // The current user may update the post...
})->middleware('can:update,post');

 

Answers:


Keywords:

© 2017 QuizBucket.org