search for: left_nav_button_selected

Displaying 1 result from an estimated 1 matches for "left_nav_button_selected".

2006 Jun 27
5
Can''t call public application.rb method from ERb template
...In my ERb template, I have <DIV class="<%= get_menu_display_style(''login_form'') %>"> In application.rb, I have the method get_menu_display_style defined as: public def get_menu_display_style(action_requested) action_name.eql(action_requested) ? ''left_nav_button_selected'' : ''left_nav_button'' end But when I go to my initial page, I get undefined method `get_menu_display_style'' for #<#<Class:0x37272b0>:0x3727220> I''m confused. I figured that I would have access to the application controller methods from...