Sha256: 3c06247727003454d9c208279aec14f8cb17b24e57c39aeabe91a8d63725ab0c

Contents?: true

Size: 235 Bytes

Versions: 7

Compression:

Stored size: 235 Bytes

Contents

class HomeController < ApplicationController
  around_filter :shopify_session
<% if embedded_app? -%>
  layout 'embedded_app'
<% end -%>

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

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shopify_app-6.0.6 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.5 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.4 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.3 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.2 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.1 lib/generators/shopify_app/install/templates/home_controller.rb
shopify_app-6.0.0 lib/generators/shopify_app/install/templates/home_controller.rb