*its work now*

routes_in = 
(('/admin','/admin'),('/admin/$anything','/admin/$anything'),('/$app/appadmin','/$app/appadmin'),('/$app/appadmin/$anything','/$app/appadmin/$anything'),('/Appname/$profileid/','/Appname/default/index/$profileid'),('/Appname/$profileid/$c/$f/','/Appname/$c/$f/$profileid'),('/Appname/$profileid/$c/$f/$arg1','/Appname/$c/$f/$arg1/$profileid'),('/Appname/$profileid/$c/$f/$arg1/$arg2','/Appname/$c/$f/$arg1/$arg2/$profileid'),)
routes_out = 
(('/admin','/admin'),('/admin/$anything','/admin/$anything'),('/$app/appadmin','/$app/appadmin'),('/$app/appadmin/$anything','/$app/appadmin/$anything'),('/Appname/default/index/$profileid','/Appname/$profileid/'),('/Appname/$c/$f/$profileid','/Appname/$profileid/$c/$f/'),('/Appname/$c/$f/$arg1/$profileid','/Appname/$profileid/$c/$f/$arg1'),('/Appname/$c/$f/$arg1/$arg2/$profileid','/Appname/$profileid/$c/$f/$arg1/$arg2'),)



On Wednesday, June 11, 2014 11:01:26 AM UTC+3, Mohammed Suleiman wrote:
>
>
>
>
> <http://stackoverflow.com/questions/23911755/how-to-make-web2py-routing-for-all-controllers#>
>  
>   
> i want something like this using web2py routing : 
>
>    - domain.com/App/controller/view/args?profile Id=XX
>    - domain.com/App/profile Id/controller/view/args
>
> i try this code : 
>
> routes_in = (
>     ('/App-name/(?P<any>.*)/$c/$f/', '/App-name/$c/$f/\g<any>'),)
> routes_out = (
>     ('/App-name/$c/$f/\g<any>', '/App-name/(?P<any>.*)/$c/$f/'),)
>
>
> but its not work any one can help me to resolve my problem 
> thnxs alot
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to