Sha256: c1df5bf306f0e15e350f3b6726c282dc9d9b8703af6755db662d383ee00dd216

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    module Users
      class SubscriptionsController < ResourceController
        belongs_to 'spree/user', model_class: Spree.user_class

        private

        def model_class
          ::SolidusSubscriptions::Subscription
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-2.0.1 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-2.0.0 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-1.1.0 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-1.0.1 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-1.0.0 app/controllers/spree/admin/users/subscriptions_controller.rb
solidus_subscriptions-1.0.0.rc1 app/controllers/spree/admin/users/subscriptions_controller.rb