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.27 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.26 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.25 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.23 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.22 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.21 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.20 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.19 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.18 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.17 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.16 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.15 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.14 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.13 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.12 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.11 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.10 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.9 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.8 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.5.7 app/controllers/workarea/storefront/content_areas_controller.rb