Laravel can't find the route! Where to dig?

There is a Routh
Route::group(['prefix' => 'admin', 'middleware' => ['menu']], function () {
 Route::resource('/event/', 'EventController', [ 'except' => [ 'show' ] ]);
});


in blade generate link to action
<a href="{{ action( 'EventController@edit', [$event->id] ) }}">{{ $event->id }}</a>


route in the list is php artisan route:list
GET|HEAD | admin/event/{}/edit | edit | App\Http\Controllers\EventController@edit | web menu


<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Input;

class EventController extends Controller
{

/**
 * @param int $id
 * @return \Illuminate\Http\Response
*/
 public function edit($id)
{
 $event = null; //Event::find($id);
 return view('admin.event_detail', ['event' =--> $event ] );
}
}


But when you go to the link domain.ru/admin/event/12/edit - 404 error

help, I don't know what to do.
July 2nd 19 at 17:09
1 answer
July 2nd 19 at 17:11
Make sure that the ranting and specified the correct middleware (or whatever hid).
PS add the code in the question is not images, but with code
middleware right there.
Other queries normally does the trick. including action from the same controller. - grace commented on July 2nd 19 at 17:14

Find more questions by tags Laravel