Sha256: e238b4291555caae0a2a602ced0285beb4b54e4ef277c93e97ce8bb1acef9d84

Contents?: true

Size: 213 Bytes

Versions: 6

Compression:

Stored size: 213 Bytes

Contents

class HomeController < SpiffyStoresApp::AuthenticatedController
  def index
    @products = SpiffyStoresAPI::Product.find(:all, params: { limit: 10 })
    @webhooks = SpiffyStoresAPI::Webhook.find(:all)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spiffy_stores_app-8.2.11 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb
spiffy_stores_app-8.2.10 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb
spiffy_stores_app-8.2.9 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb
spiffy_stores_app-8.2.8 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb
spiffy_stores_app-8.2.7 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb
spiffy_stores_app-8.2.6 lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb