To handle the missing view you could modify the "generic" one to suit
your needs.
That is the one that gets executed when there is no corresponding view
for a controller.


On Mar 3, 6:57 pm, "mr.freeze" <[email protected]> wrote:
> Functions that take arguments or start with a double underscore are
> not publicly exposed and can only be called by other functions.
>
> On Mar 3, 5:52 pm, minh <[email protected]> wrote:
>
> > I have functions in my controller that require no view and should be
> > inaccessible through the browser, i.e: helper functions, callbacks,
> > etc
>
> > If the user tries to access the function 
> > throughhttp://../app/controller/function,
> > I'll either get an 'invalid function' or the return values.
>
> > How do I prevent users from seeing this? I basically want the user to
> > be redirected to an error page if there is no corresponding view.
>
> > Thanks in advance.

-- 
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