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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -