Class: Cms::ContentTypesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Cms::ContentTypesController
- Defined in:
- app/controllers/cms/content_types_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/cms/content_types_controller.rb', line 6 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 |