keevitaja
3 years ago
971
1
Laravel

Change the route variable name

Posted 3 years ago by keevitaja

Hello!

Is it possible to change the route variable name?

Route::resource('invite', 'Account\InviteController') will create account/invite/{invite} but i need it to be account/invite/{account}

Please sign in or create an account to participate in this conversation.