Sha256: 69ec2dafa8b79972bd915cec557be8d762fc784027443212ad8b090df4dbd2d1

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

require_dependency "phcdevworks_accounts_stripe/application_controller"

module PhcdevworksAccountsStripe
    class Admin::ProductsController < ApplicationController

        # Filters
        before_action :authenticate_user!
        include PhcdevworksCore::PhcdevworksPluginsHelper
        before_action :phcdevworks_accounts_admin_only

        def admin_products_list
            @admin_products_list = Stripe::Product.list
        end

    end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phcdevworks_accounts_stripe-0.1.7 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.6 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.5 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.4 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.3 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.2 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb
phcdevworks_accounts_stripe-0.1.1 app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb