Does the template know the name of the method that called it

Within a template, is it possible to get the name of the calling method?
What other data can you query within your template?

On Friday 17 Mar 2006 03:22, charlie bowman wrote:

Within a template, is it possible to get the name of the calling method?

Try:

controller.controller_name
controller.action_name

What other data can you query within your template?

<%= debug controller %>

That’ll be quite a lot then. :wink:

~Dave

Dave S.
Rent-A-Monkey Website Development

PGP Key: http://www.rentamonkey.com/pgpkey.asc