Sha256: aab6308732a475a50199bd7ed1e6dcadfe1f9af65e07856580a028d4e2a750de
Contents?: true
Size: 363 Bytes
Versions: 4
Compression:
Stored size: 363 Bytes
Contents
module Workarea module Api module Storefront class PagesController < Api::Storefront::ApplicationController before_action :cache_page def show model = Content::Page.active.find_by(slug: params[:id]) @page = Workarea::Storefront::PageViewModel.new(model, view_model_options) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems