Sha256: 5433fb42806b47fd369091de1fb36f896f8095fcfa645a5557c61baa53ef9abe
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Workarea decorate Storefront::RecentViewsController, with: :flow_io do # TODO base bag product isn't passing view model options def show if stale?( etag: user_activity, last_modified: user_activity.updated_at, public: true ) @recent_views = Storefront::UserActivityViewModel.new(user_activity, view_model_options) render params[:view].in?(allowed_alt_views) ? params[:view] : :show end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-flow_io-1.2.1 | app/controllers/workarea/storefront/recent_views_controller.decorator |