I'm using Laravel 5.4 and controllers in the Restful pattern.
I configured the route file as follows:
Route::resource('entryRegistry', 'EntryRegistryController');
In view:
{{ route('entryRegistry.create') }}
On Controller:
public function create() { }
With this, the url of my page was:
/entryRegistry/create
How do I change the url that references the route of the create function?
I want to change the entryregistry/create
to registro-ponto/criar
, without changing the structure of the controler and also without changing the name of the function and the controller in question.