Class: HomeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- HomeController
- Includes:
- ShopifyApp::EmbeddedApp, ShopifyApp::EnsureInstalled, ShopifyApp::ShopAccessScopesVerification
- Defined in:
- lib/generators/shopify_app/home_controller/templates/home_controller.rb,
lib/generators/shopify_app/home_controller/templates/unauthenticated_home_controller.rb
Instance Method Summary collapse
Methods included from ShopifyApp::EnsureInstalled
#current_shopify_domain, #installed_shop_session
Instance Method Details
#index ⇒ Object
8 9 10 11 |
# File 'lib/generators/shopify_app/home_controller/templates/home_controller.rb', line 8 def index @products = ShopifyAPI::Product.all(limit: 10) @webhooks = ShopifyAPI::Webhook.all end |