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.180 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.179 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.178 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.177 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.176 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.175 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.174 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.173 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.172 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.171 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.170 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.169 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.168 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.167 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.166 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.165 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.164 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.163 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.162 app/controllers/caboose/block_type_categories_controller.rb
caboose-cms-0.9.161 app/controllers/caboose/block_type_categories_controller.rb