Search path for templates? (meta-programming)

Hi,

I am doing a little meta-programming.

I have a default template views/shared/index.rhtml that is used by
most of my controllers.

One controller has views/front/index.rhtml.

How do I get render to first look in views/front/ and if it doesn’t
find index.rhtml then look in views/shared/?

Thanks,
Peter

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs