Displaying 1 result from an estimated 1 matches for "home_menu".
Did you mean:
hide_menu
2006 May 04
1
Re: How do I identify the initiating View from within aHelper?
Lindsay,
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
thing.
You could then go like:
<%= render_component :controller => ''sidebar'', :action => ''home_menu'' %>
The :action parameter could even be more dynamic based on your own
needs.
Maybe someone knows a better way?
Chris
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mark Reginald
James
Sent: Friday, Ma...