mercredi 28 octobre 2015

action helper and routing priority laravel 5

I have two rules

Route::get('this-is-an-awesome-route', 'Ads@getIndex');
Route::controller('ads', 'Ads');

action('Ads@getIndex') renders

http://my-awesome-domain/ads

I want

http://my-awesome-domain/this-is-an-awesome-route

What's the problem ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire