Skip to content
Browse files

routes

  • Loading branch information...
1 parent 6c089e5 commit 57745319580bb8be46f83933f671bc1b8b6ef673 @vovazolotoy vovazolotoy committed Aug 24, 2011
Showing with 8 additions and 7 deletions.
  1. +8 −7 application/routes.js
View
15 application/routes.js
@@ -1,10 +1,11 @@
+/**
+ * Set the routes. Each route must have a minimum of a name, a URI and a set of
+ * defaults for the URI.
+ */
-Route.set('auth', '<action>', {
- action: '(join|login|logout|activation|restore)'
- }).defaults({
- directory: 'account',
- controller: 'auth',
- action: 'login'
+Route.set('default', '(<controller>(/<action>(/<id>)))')
+ .defaults({
+ controller: 'welcome',
+ action: 'index'
});
-

0 comments on commit 5774531

Please sign in to comment.
Something went wrong with that request. Please try again.