Is there a way to use partial views from another category?

Hi,

I have a partial view _header.rhtml in my pages directory (views/
pages/) and I'd like to reference that partial view from my blog
directory. For a quick solution, I copied the file into the blog
directory for the blog controller to use. But this makes me change
two things everytime. Is there a way to reference a partial view in
another directory so I can just use one file?

Thanks,

Ron

Ron wrote:

another directory so I can just use one file?

Thanks,

Ron

Ron,

yes.. <%= render :partial => 'subdir/partial_name' %>

hth

ilan

Thanks!

Ron

Thanks Ilan!