I have got following in controllers/default.py:

response.menu=[
['Tovar',False,t2.action('browse')],
['Odberatelia',False,t2.action('temp')]]

def index():
   return dict()

when I go to http://127.0.0.1:8000/my_app/
it displays page   views/default/index.html
and in this page, it inserts "default/" at the beginning of menu item
links: http://127.0.0.1:8000/my_app/default/browse 

I understand that web2py maps the path from controller to path in the
view.


My application otherwise works fine with following paths:
http://127.0.0.1:8000/my_app/browse
http://127.0.0.1:8000/my_app/modify/1
http://127.0.0.1:8000/my_app/create
...

It seems all other application I can see (admin,examples,puppy,cookbook)
work with "default".

How to make application default page to be without that "default" in the
path? I tried to use html redirect but it began to cycle.

Thanks.
Julius


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to