class CmAdmin::Models::Action

def controller_action_name

def controller_action_name
  if self.action_type == :custom
    'cm_custom_method'
  elsif self.parent
    'cm_' + self.parent
  else
    'cm_' + name
  end
end