0
I am using Laravel 5.4 and controllers in Restful standard.
I configured the route file as follows:
Route::resource('entryRegistry', 'EntryRegistryController');
In view:
{{ route('entryRegistry.create') }}
Na Controller:
public function create() { }
With this, the url of my page:
/entryRegistry/create
How do I change the url that references the route of funcion create ?
I want to change the entryregistry/create for registro-ponto/criar, without changing the controller structure and also without changing the name of the Function and controller in question.
What exactly do you want to change?
– gmsantos
I want to change the text that appears in the browser url
– Jonathan Barcela
but which part? the beginning of Uri is controlled by the first argument passed to the route
'entryRegistry'. Is that the part that bothers you or thecreate, or the url as a whole?– gmsantos
i want to change the entryregistry/create to record-point/create, without changing the controller structure and also without changing the name of the Function and controller in question.
– Jonathan Barcela