Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix again....

  • Loading branch information...
commit bfec7d94e8bea35758f8865a068d3c97f707f789 1 parent e4772f7
@maritz maritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -60,7 +60,7 @@ You can use regular expressions as well. This leads to your U
Ni.addRoute(/^\/register/i, '/User/register');
If you want to use arguments with custom routes, you can do that as well:
- Ni.addRoute(/^\/details\/([\d]+)/i, '/User/details/$1');
+ Ni.addRoute(/^\/details\/(.*)$/i, '/User/details/$1');
You can also define functions to test the path. For example:
Calling will internally redirect to use the "Number" controller and call the "positive" function, while calling
Please sign in to comment.
Something went wrong with that request. Please try again.