def action_link_to(action, block = nil)
      object_or_array = @@object_or_array.clone
      object_or_array.push @object
      return case action.to_sym
        when :delete
          create_link_to(block || I18n.t(:delete), object_or_array, @@options[:link_remote], :delete, I18n.t(:confirm_delete))
        when :show
          create_link_to(block || I18n.t(:show), object_or_array, @@options[:link_remote])
        else
          object_or_array.insert(0, action)
          create_link_to(block || I18n.t(@ask), object_or_array, @@options[:link_remote])
      end
    end
def action_link_to(action, block = nil)
      object_or_array = @@object_or_array.clone
      object_or_array.push @object
      return case action.to_sym
        when :delete
          create_link_to(block || I18n.t(:delete), object_or_array, @@options[:link_remote], :delete, I18n.t(:confirm_delete))
        when :show
          create_link_to(block || I18n.t(:show), object_or_array, @@options[:link_remote])
        else
          object_or_array.insert(0, action)
          create_link_to(block || I18n.t(@ask), object_or_array, @@options[:link_remote])
      end
    end
Create the link for actions
 Set the I18n translation or the given block for the link's name