Do you have a default.py controller with a user() function? Does the problem go away if you remove routes.py altogether?
Anyway, instead of the routes you have (which is legacy functionality), you're better off using the parameter-based router to set the default application, controller, and function. Anthony On Monday, August 20, 2012 6:13:53 PM UTC-4, Simon Carr wrote: > > I have updated my routes.py as below > > default_application = 'blog' # ordinarily set in base routes.py > default_controller = 'post' # ordinarily set in app-specific routes.py > default_function = 'index' # ordinarily set in app-specific routes.py > > This works fine for the home page and the links generated to view a post > are in the form of http://www.arduino-mega.com/blog/post/view_post/12when I > hover over them. > > However when I click a link takes me to > http://www.arduino-mega.com/blog/default/user/login?_next=/blog/post/view_post/12 > with error message > invalid function (default/user) > I don't have @auth.require_login for the view_post function either. I have > clicked reload routes in the admin panel. > > Any idea what the problem is here? > > Simon > --

