lib/generator/lib/app.rb in shopify-sinatra-app-0.0.8 vs lib/generator/lib/app.rb in shopify-sinatra-app-0.1.0

- old
+ new

@@ -10,11 +10,10 @@ # Your App's Home page # this is a simple example that fetches some products # from Shopify and displays them inside your app get '/' do shopify_session do - @products = ShopifyAPI::Product.all - erb :home + @products = ShopifyAPI::Product.find(:all, :params => {:limit => 10}) end end # this endpoint recieves the uninstall webhook # and cleans up data, add to this endpoint as your app