Module: Corzinus::CheckoutsHelper
- Defined in:
- app/helpers/corzinus/checkouts_helper.rb
Instance Method Summary collapse
Instance Method Details
#active_step_class(current_step) ⇒ Object
3 4 5 |
# File 'app/helpers/corzinus/checkouts_helper.rb', line 3 def active_step_class(current_step) 'active' unless future_step?(current_step) end |
#current_delivery?(delivery) ⇒ Boolean
7 8 9 |
# File 'app/helpers/corzinus/checkouts_helper.rb', line 7 def current_delivery?(delivery) params[:delivery_id] == delivery.id || current_order.delivery == delivery end |