Simple question, is it better to do
# application.html.haml
(...)
%body
= render :partial => layouts/edit_user_sidebar if params[:controller] in [ Users , some_other_controller ]
= render :partial => layouts/default_sidebar unless params[:controller] == Home
- if params[:controller] == Home
#content.24-cols
.padding
= yield
- else
#content.18-cols
.padding
= yield
Or put the renders in views. I think it will be more elegant but it will take a lot of time when I would have to edit it.