Displaying 1 result from an estimated 1 matches for "9d7f1160".
Did you mean:
971160
2006 Jun 24
3
Staying DRY -- can views share partials?
Let''s say I have a "main" controller/view and a "sub" controller/view.
If I have defined a partial in "main" for the site header
(_site_header.rhtml) can I share it with "sub" or does "sub" have to
duplicate it, use a symbolic link to the file, or convert the cool
partial into an ugly helper?
It would be nice to have a shared placed