Class: RailsDrips::DeliveryRetriesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/rails_drips/delivery_retries_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



5
6
7
8
9
# File 'app/controllers/rails_drips/delivery_retries_controller.rb', line 5

def create
  delivery = Delivery.find(params[:delivery_id])
  RetryDelivery.call(delivery: delivery, actor: current_rails_drips_actor)
  redirect_to delivery_path(delivery)
end