Rails use case

is this possible for rhtml outside the views dirs?

···

-----Original Message-----
From: ritchie [mailto:ritchie@ipowerhouse.com]
Sent: Monday, April 11, 2005 2:25 PM
To: ruby-talk ML
Subject: rails use case

---------------------------

Yes.
Rails documentation has the following to say

  render(template_path, local_assigns = {})

  Renders the template present at template_path (relative to the
template_root). The hash in local_assigns is made available as local
variables.

Meaning you may call an external .rhtml to be rendered before
controller's default kicks in.

--Tony