Permalink
Browse files

Bootstrap

  • Loading branch information...
Deepwinter
Deepwinter committed Apr 25, 2011
1 parent b11288f commit a9d9327b396d1c45316b13fd0f3495f3b26c06aa
Showing with 15 additions and 0 deletions.
  1. +15 −0 application/bootstrap.php
View
@@ -126,6 +126,21 @@
* Set the routes. Each route must have a minimum of a name, a URI and a set of
* defaults for the URI.
*/
+
+Route::set('default1', '<controller>(/<action>(/<id>))')
+ ->defaults(array(
+ 'action' => 'index',
+ ));
+
+Route::set('slug', '<uri>')
+ ->defaults(array(
+ 'controller'=>'asdas',
+ 'action'=>'aaa'
+ ));
+
+
+
+
Route::set('default', '(<controller>(/<action>(/<id>)))')
->defaults(array(
'controller' => 'welcome',

0 comments on commit a9d9327

Please sign in to comment.