Skip to content

Commit

Permalink
Fixed issue: Invitation URL not working properly when language code c…
Browse files Browse the repository at this point in the history
…ontains a hyphen
  • Loading branch information
c-schmitz committed Nov 29, 2012
1 parent 1d17614 commit 9d455a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/config/routes.php
Expand Up @@ -14,8 +14,8 @@


//Compatibility with classic modrewrite
$route['<_sid:\d+>/lang-<_lang:\w+>/tk-<_token:\w+>'] = "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>"; //This one must be first
$route['<_sid:\d+>/lang-<_lang:\w+>'] = "survey/index/sid/<_sid>/lang/<_lang>";
$route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>'] = "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>"; //This one must be first
$route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>'] = "survey/index/sid/<_sid>/lang/<_lang>";
$route['<_sid:\d+>/tk-<_token:\w+>'] = "survey/index/sid/<_sid>/token/<_token>";

//Admin Routes
Expand Down

0 comments on commit 9d455a2

Please sign in to comment.