That is not the case with response.render. By default if you just
specify the filename then it looks first in views not in views/
controller.

On Jun 24, 4:33 pm, Anthony <abasta...@gmail.com> wrote:
> On Friday, June 24, 2011 11:29:20 AM UTC-4, apple wrote:
>
> > Thanks. I had incorrectly assumed it treated the views/controller
> > directory as the current one.
>
> By default, if no view is specified, it will look for
> /views/current_controller/current_function.html and use generic.html if it
> can't find that. But if you specify the view, you have to specify the full
> path.
>
> Anthony

Reply via email to