Sha256: 47e5a65319fb496a7f249c2d0d692437f5348a8e4e1a8ad20ac279f3b3494db1

Contents?: true

Size: 399 Bytes

Versions: 28

Compression:

Stored size: 399 Bytes

Contents

module Workarea
  module Admin
    class PricingDiscountRedemptionsController < Admin::ApplicationController
      required_permissions :marketing

      def index
        model = Pricing::Discount.find(params[:pricing_discount_id])
        @discount = DiscountViewModel.wrap(model, view_model_options)
        @redemptions = model.redemptions.recent.page(params[:page])
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-admin-3.5.6 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.5 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.4 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.3 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.2 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.1 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.0 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb
workarea-admin-3.5.0.beta.1 app/controllers/workarea/admin/pricing_discount_redemptions_controller.rb