Wouldn’t you want to use a component for this? I know components seem
to be out of favor, but they seem like a perfect fit for this very
You could then go like:
<%= render_component :controller => ‘sidebar’, :action => ‘home_menu’ %>
The :action parameter could even be more dynamic based on your own
Maybe someone knows a better way?