Sha256: 8742110532263b76c011d75a1f76bea383637c5c6ea3995c28032be04886200a

Contents?: true

Size: 362 Bytes

Versions: 10

Compression:

Stored size: 362 Bytes

Contents

require_dependency "cms/application_controller"

module Cms
  class ContentTypesController < ApplicationController

    def index
      content_type = ContentType.named(params[:content_type]).first
      @attributes = content_type.orderable_attributes.sort()
      respond_to do |format|
        format.js { render :layout => false }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.3.3 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.3.2 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.3.1 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.3 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.2 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.1.1 app/controllers/cms/content_types_controller.rb
browsercms-artirix-4.0.0.rc1.art4 app/controllers/cms/content_types_controller.rb
browsercms-4.0.0.rc1 app/controllers/cms/content_types_controller.rb
browsercms-4.0.0.beta app/controllers/cms/content_types_controller.rb