SHARE
TWEET

bootstrap




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Route::set('admin', 'admin(/<controller>(/<action>(/<id>)))')
- ->defaults(array(
- 'directory' => 'admin',
- 'controller' => 'main',
- 'action' => 'index',
- ));
- Route::set('chat', 'chat/<id>', array('id' => '.+'))
- ->defaults(array(
- 'controller' => 'chat',
- 'action' => 'index',
- ));
- Route::set('comments', 'comments/<id>', array('id' => '.+'))
- ->defaults(array(
- 'controller' => 'comments',
- 'action' => 'index',
- ));
- Route::set('articles', '<articles>/<id>-<artname>', array('id' => '[0-9]+'), array('artname' => '.+'))
- ->defaults(array(
- 'controller' => 'articles',
- 'action' => 'article',
- ));
- Route::set('static', '<action>(/<id>)', array('action' => 'about|contacts'))
- ->defaults(array(
- 'controller' => 'static',
- ));
- Route::set('default', '(<controller>(/<action>(/<id>)))')
- ->defaults(array(
- 'controller' => 'page',
- 'action' => 'index',
- ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.