Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bootstrap

  • Loading branch information...
commit a9d9327b396d1c45316b13fd0f3495f3b26c06aa 1 parent b11288f
@deepwinter deepwinter authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 application/bootstrap.php
View
15 application/bootstrap.php
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.