mercredi 29 juin 2016

Using underscore synatx in URI with implicit controller in laravel

I know this:

If your controller action contains multiple words, you may access the action using "dash" syntax in the URI. For example, the following controller action on our UserController would respond to the users/admin-profile URI:

public function getAdminProfile() {}

Want to the know about:

If i want to use "underscore" synatx in the URI. Is it possible with implicit controllers.

Like want to use user/admin_profile in the URI. What would controller look like?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire