Class: HomeController
- Inherits:
-
ShopifyApp::AuthenticatedController
- Object
- ApplicationController
- ShopifyApp::AuthenticatedController
- HomeController
- Defined in:
- lib/generators/shopify_app/home_controller/templates/home_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 |
# File 'lib/generators/shopify_app/home_controller/templates/home_controller.rb', line 2 def index @products = ShopifyAPI::Product.find(:all, :params => {:limit => 10}) end |