Rails: DRY in views, I need help

Posted by Totty on Stack Overflow See other posts from Stack Overflow or by Totty
Published on 2010-04-07T20:02:16Z Indexed on 2010/04/07 20:03 UTC
Read the original article Hit count: 488

Filed under:
|
|

Hy,

I have a layout in the views/layout that has 2 cols and then in every view i have content_for :main_col and content_for :side_col. The problem is that i have more than 5 views with the same content in the content_for :side_col

You have a better idea on how to do this?thanks

© Stack Overflow or respective owner

Related posts about dry

Related posts about views