diff options
Diffstat (limited to 'core/config/routes.php')
-rw-r--r-- | core/config/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/config/routes.php b/core/config/routes.php index ea177eda..120e6900 100644 --- a/core/config/routes.php +++ b/core/config/routes.php @@ -24,8 +24,8 @@ $config['^rest'] = null; $config['^rest/.*'] = null; $config['^(\w+)/(\d+)$'] = '$1/dispatch/$2'; -$config['^(\w+)$'] = '$1/index'; -$config['^form/(\w+)/(\w+)/(.*)$'] = '$2/form/$3/$1'; +$config['^(\w+)$'] = '$1/dispatch/0'; +$config['^form/(edit|add)/(\w+)/(.*)$'] = '$2/form_$1/$3'; // For now our default page is the scaffolding. $config['_default'] = 'welcome'; |