app/helpers/phcmembers/application_helper.rb in phcmembers-12.1.1 vs app/helpers/phcmembers/application_helper.rb in phcmembers-12.2.1

- old
+ new

@@ -1,14 +1,14 @@ -module Phcmembers - module ApplicationHelper - - # Add Active to Menu - def is_active_controller(controller_name) - params[:controller] == controller_name ? "active open selected" : nil - end - - def is_active_action(action_name) - params[:action] == action_name ? "active" : nil - end - - end -end +module Phcmembers + module ApplicationHelper + + # Add Active to Menu + def is_active_controller(controller_name) + params[:controller] == controller_name ? "active open selected" : nil + end + + def is_active_action(action_name) + params[:action] == action_name ? "active" : nil + end + + end +end