lib/generator/lib/app.rb in shopify-sinatra-app-0.0.1 vs lib/generator/lib/app.rb in shopify-sinatra-app-0.0.2

- old
+ new

@@ -4,10 +4,10 @@ register Sinatra::Shopify get '/' do # your app's Home page shopify_session do |shop_name| - @shop = Shop.find_by(:name => shop_name) + @shop_name = shop_name @products = ShopifyAPI::Product.all(limit: 5) erb :home end end