jasonlewis / enhanced-router

Enhanced Router is an extension to the Laravel 4 router and provides some enhanced functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[proposal] Adding where() to resource Controllers

drakakisgeo opened this issue · comments

It would be great if you could do something like this

Route::resource('text','app\controllers\app\TestController')->where('test','\d+');

I have no plans to add further functionality to this package at this point in time.

Cheers though.