Module: SolidusSubscriptions::Spree::OrdersController::CreateSubscriptionLineItems
- Defined in:
- lib/decorators/frontend/controllers/solidus_subscriptions/spree/orders_controller/create_subscription_line_items.rb
Class Method Summary collapse
Class Method Details
.prepended(base) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/decorators/frontend/controllers/solidus_subscriptions/spree/orders_controller/create_subscription_line_items.rb', line 16 def self.prepended(base) base.after_action( :handle_subscription_line_items, only: :populate, if: ->{ params[:subscription_line_item] } ) end |