Sha256: 20e9330d117e18f88656a59c4c8daa4e2196700dd7a2a87c197fb0b80d8b98cc

Contents?: true

Size: 364 Bytes

Versions: 34

Compression:

Stored size: 364 Bytes

Contents

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

      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

34 entries across 34 versions & 1 rubygems

Version Path
workarea-storefront-3.4.45 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.44 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.43 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.42 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.41 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.40 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.39 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.38 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.37 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.36 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.35 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.34 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.33 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.32 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.31 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.30 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.29 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.28 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.27 app/controllers/workarea/storefront/content_areas_controller.rb
workarea-storefront-3.4.26 app/controllers/workarea/storefront/content_areas_controller.rb