Kohana Route setup for different actions -
i have route (kohana 3.3)
route::set('project', 'project(/<action>(/<id>(/<idfile>)))')
now possible querys this
localhost/kohana/project/edit/16 localhost/kohana/project/list/
i want use pagination on action list - need change "id" "page" in route on action
do should use regulars or theres stock approach ?
solved next route
route::set('project', 'project(/<action>(/page/<page>)(/<id>(/<idfile>)))')
Comments
Post a Comment