@@ -14,12 +14,12 @@ module CommunicartMailerHelper
     end
   end
 
-  def approve_all_url(approval)
+  def approve_all_url(approval, approve = true)
     approval_response_url(
       cart_id: approval.cart_id,
       user_id: approval.user_id,
       cch: approval.api_token.access_token,
-      approver_action: 'approve'
+      approver_action: approve ? 'approve' : "reject"
     )
   end
 end
module CommunicartMailerHelper
  def status_icon_tag(status)
    image_tag("icon-#{status}.png", class: "status-icon #{status}")
  end

  def generate_bookend_class(index, count)
    case index
    when count - 1
      'class=last'
    when 0
      'class=first'
    else
      ''
    end
  end

  def approve_all_url(approval)
    approval_response_url(
      cart_id: approval.cart_id,
      user_id: approval.user_id,
      cch: approval.api_token.access_token,
      approver_action: 'approve'
    )
  end
end

Can we make a `reject_cart_url` method instead?