Class: RailsDrips::DeliveryRetriesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RailsDrips::DeliveryRetriesController
- Defined in:
- app/controllers/rails_drips/delivery_retries_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
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 |