Sha256: 18fed96824c5328c4d79d113a74f36835d5dfc1d58ff7a7c0ed268a7a721e368

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

class HomeController < AuthenticatedController
  include ShopifyApp::ShopAccessScopesVerification

  def index
    @products = ShopifyAPI::Product.find(:all, params: { limit: 10 })
    @webhooks = ShopifyAPI::Webhook.find(:all)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shopify_app-17.2.1 lib/generators/shopify_app/home_controller/templates/home_controller.rb
shopify_app-17.2.0 lib/generators/shopify_app/home_controller/templates/home_controller.rb
shopify_app-17.1.1 lib/generators/shopify_app/home_controller/templates/home_controller.rb
shopify_app-17.1.0 lib/generators/shopify_app/home_controller/templates/home_controller.rb