Sha256: fabd41ff54674d44bac32b9c7947fa386401f1d5e2329d101face3bcd8020fa8

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

module Alchemy
  module Admin
    class LayoutpagesController < Alchemy::Admin::BaseController
      authorize_resource class: :alchemy_admin_layoutpages

      def index
        @locked_pages = Page.from_current_site.all_locked_by(current_alchemy_user)
        @layout_root = Page.find_or_create_layout_root_for(Language.current.id)
        @languages = Language.all
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-3.0.0.rc5 app/controllers/alchemy/admin/layoutpages_controller.rb