I've changed models/menu.py of welcome application
This is original code:
...
response.menu_edit=[
  [T('Edit'), False, URL('admin', 'default', 'design/%s' %
request.application),
   [
            [T('Controller'), False,
             URL('admin', 'default', 'edit/%s/controllers/default.py'
\
                     % request.application)],
...

2 last lines of this code was changed to:
...
response.menu_edit=[
  [T('Edit'), False, URL('admin', 'default', 'design/%s' %
request.application),
   [
            [T('Controller'), False,
             URL('admin', 'default', 'edit/%s/controllers/%s.py' \
                     % (request.application, request.controller))],
...

It seems to me that it would be comfortable to edit current controller
not the default one ) But this code is located in welcome.w2p archive
file. I dont know how to send this changes to repo. Help me, please...

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to