I think you are looking for RESTful Controllers
So in your route file you only have
Route::controller('admin', 'AdminController');
and in your controller
class AdminController extends BaseController {
public function getPaginate()
{
//
}
public function postUpdate()
{
//
}
}
No without defining in route can i access the controller directly and also the route with multiple parameter Admin/index/ $1 / $2 / $3 / $4 / $5 / for multiple parameter
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community