Sha256: 359de29984f24540e54df507b1932c28455a27e266addddc4992181d462d8534

Contents?: true

Size: 402 Bytes

Versions: 12

Compression:

Stored size: 402 Bytes

Contents

module Workarea
  module Api
    module Storefront
      class RecommendationsController < Api::Storefront::ApplicationController
        before_action :assert_current_metrics_id

        def show
          @recommendations = Workarea::Storefront::PersonalizedRecommendationsViewModel.new(
            current_metrics,
            view_model_options
          )
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
workarea-api-4.5.6 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.6 app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-4.5.5 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.5 app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-4.5.4 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.4 app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-4.5.3 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.3 app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-4.5.2 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.2 app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-4.5.0 storefront/app/controllers/workarea/api/storefront/recommendations_controller.rb
workarea-api-storefront-4.5.0 app/controllers/workarea/api/storefront/recommendations_controller.rb