Guest User

Untitled

a guest
Mar 14th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Route::set('admin','busoff/admin(/<controller>(/<action>(/<id>(.<format>))))')
  2. ->defaults(array(
  3. 'controller' => 'admin',
  4. 'action' => 'index'
  5. ));
  6.  
  7. Route::set('sections','<directory>(/<controller>(/<action>(/<id>(.<format>))))',
  8. array(
  9. 'directory' => '(busoff)'
  10. ))
  11. ->defaults(array(
  12. 'controller' => 'default',
  13. 'action' => 'index'
  14. ));
  15.  
  16. Route::set('default', '(<controller>(/<action>(/<id>)))')
  17. ->defaults(array(
  18. 'controller' => 'default',
  19. 'action' => 'index',
  20. ));
Add Comment
Please, Sign In to add comment