Class: Workarea::Storefront::RecommendationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Workarea::Storefront::RecommendationsController
- Defined in:
- app/controllers/workarea/storefront/recommendations_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#current_layout, #current_user_info, #health_check, #layout_content
Methods included from OrderLookup
Methods included from UserActivity
#current_user_activity_id, #user_activity
Methods included from CurrentCheckout
#clear_current_order, #completed_order, #completed_order=, #current_checkout, #current_order, #current_order=, #current_shipping, #current_shippings
Methods included from HttpCaching
Instance Method Details
#show ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/controllers/workarea/storefront/recommendations_controller.rb', line 3 def show fresh_when(etag: user_activity, last_modified: user_activity.updated_at) @recommendations = Storefront::PersonalizedRecommendationsViewModel.new( user_activity, ) end |