class Wco::InvoicesController
def send_stripe
def send_stripe @invoice = Wco::Invoice.find params[:id] authorize! :send_stripe, @invoice Stripe::Invoice.send_invoice( @invoice.invoice_id ) flash_notice "Scheduled to send the invoice." redirect_to action: :show, id: @invoice.id end