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