Sha256: ae1657ab371af487471beac67bcfd13c84054edd1a929ee5cc6d856286771b77

Contents?: true

Size: 405 Bytes

Versions: 28

Compression:

Stored size: 405 Bytes

Contents

module Workarea
  module Storefront
    class ContentAreasController < Storefront::ApplicationController
      layout 'workarea/storefront/empty'

      skip_around_action :apply_segments
      before_action :require_login
      before_action :require_admin

      def show
        @content = ContentViewModel.new(Content.find(params[:id]))
        @area_id = params[:area_id]
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-storefront-3.5.6 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.5 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.4 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.3 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.2 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.1 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.0 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.0.beta.1 app/controllers/workarea/storefront/content_areas_controller.rb