I think I've just found a typo in the official book. Page

http://web2py.com/books/default/chapter/29/3

In a grey box there is this sentence

If an extension other than "html" is specified ("json" for example),
and the view file "[controller]/[function].json" is not found, web2py
looks for the view "generic.json".

Shouldn't the view file be in views not controller?

Robin

Reply via email to