Skip to content

Instantly share code, notes, and snippets.

@kemo
Created December 22, 2011 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kemo/1510799 to your computer and use it in GitHub Desktop.
Save kemo/1510799 to your computer and use it in GitHub Desktop.
Kohana routing proposal
<?php
Route::set('help::index', 'pomoc');
Route::set('help::read','pomoc/<id>');
Route::set('cause::view','svrha/<id>(/<seo>)', array('id' => '[0-9]+','seo' => '.+');
Route::set('cause::add', 'dodaj_svrhu');
Route::set('user::login','login');
Route::set('user::signup','registracija');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment