Have you tried re-starting the server or reloading routes in the admin
interface?
On Friday, May 17, 2013 8:57:47 AM UTC-4, Robin Manoli wrote:
>
> Hey,
> I have created a new file, controller.py under controllers, which has an
> index function that returns a dict.
> I have created a folder under views, named controller/index.html which
> extends layout.html
>
> Now I thought I should be able to access it under
> /myapp/controller/index.html, or /myapp/controller/index, but I get the
> error:
>
> invalid function (default/controller)
>
>
> The only thing I have in routes.py:
>
> routers = dict(
> BASE = dict(
> domains =
> {
> '127.0.0.1' : 'myapp',
> },
> ),
> )
>
>
> What did I miss?
>
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.