Ticket #122 (new defect)

Opened 4 years ago

renderTemplate uses wrong path

Reported by: pillgrim Assigned to:
Priority: trivial Milestone: 1.0.1
Component: Action Controller Keywords:


Documentation says:

=== Rendering a template

Template rendering works just like action rendering except that it takes a path relative to the template root. The current layout is automatically applied.

* Renders the template located in app/views/weblog/show.tpl $this->render(array('template'=>'weblog/show'));

When trying to use this example I get error, that: Warning: Missing template app/views/weblog/weblog/show.tpl