Sha256: 1ee9065bf0116e9066c50dc51a637d5c0821f0607f5dda75712b0b1fa257ac36

Contents?: true

Size: 294 Bytes

Versions: 317

Compression:

Stored size: 294 Bytes

Contents

module Caboose
  class BlockTypeCategoriesController < ApplicationController
    
    # @route GET /admin/block-type-categories/tree-options
    def admin_tree_options
      return unless user_is_allowed('pages', 'edit')
      render :json => BlockTypeCategory.tree
    end
    		
  end  
end

Version data entries

317 entries across 317 versions & 1 rubygems

Version Path
caboose-cms-0.9.140 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.139 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.138 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.137 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.136 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.135 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.134 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.133 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.132 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.131 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.130 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.129 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.128 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.127 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.126 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.125 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.124 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.123 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.122 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.121 app/controllers/caboose/block_type_categories_controller.rb