lib/tabulous/tab.rb
# controller actions that make this tab active
controller actions that make this tab active
controller actions that make this tab active
def add_active_actions(controller, actions)
      controller = controller.to_s
      actions = [actions] if !actions.is_a?(Array)
      for action in actions
        @active_actions[controller] ||= []
        @active_actions[controller] << action.to_s
      end
    end
def add_active_actions ( controller , actions ) controller = controller . to_s actions = [ actions ] if ! actions . is_a? ( Array ) for action in actions @active_actions [ controller ] ||= [ ] @active_actions [ controller ] << action . to_s end end
controller actions that make this tab active
controller actions that make this tab active
controller
<not_specific>
actions
<not_specific>