Sha256: 50c3f00f5206374c1f65367a62eedbefa35ec376918064c92c675594ddc4415c

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

class Inventory::CategoriesController < ApplicationController
  include JquerySortableTreeController::Rebuild

  def index
    @inventory_categories = Inventory::Category.nested_set.all
  end

  def manage
    @inventory_categories = Inventory::Category.nested_set.all
  end

  def sortable_model
    Inventory::Category
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jquery_sortable_tree-3.1.2 spec/dummy_app/app/controllers/inventory/categories_controller.rb
jquery_sortable_tree-3.1.1 spec/dummy_app/app/controllers/inventory/categories_controller.rb
jquery_sortable_tree-3.1.0 spec/dummy_app/app/controllers/inventory/categories_controller.rb
jquery_sortable_tree-3.0.0 spec/dummy_app/app/controllers/inventory/categories_controller.rb