Cascading views?

For some fairly generic views and controller stuff I’d like to have a
standard view, say app/views/shared/list.rhtml, and a way to override
it per controller, app/views/mymodel/list.rhtml.

I think I’ve read of a similar feature before, but I’m not really sure.
I may be confusing things with engines and productize. Has someone
implemented it for plain Rails apps?

Michael


Michael S.
mailto:[email protected]
http://www.schuerig.de/michael/

Hi Michael,

this might be what you’ve read about:
http://dereksivers.com/rails-shared-controller.html

Cheers,
Jan

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