Sha256: 228ef8c2061c303c2afcb3c30f7eb363d8d3069c0734184c4d7fe9932516c4b1

Contents?: true

Size: 260 Bytes

Versions: 7

Compression:

Stored size: 260 Bytes

Contents

class ArticleCategoriesController < ApplicationController
  include TheSortableTreeController::Rebuild

  def index
    @article_categories = ArticleCategory.nested_set.all
  end

  def manage
    @article_categories = ArticleCategory.nested_set.all
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
the_sortable_tree-2.6.2 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.7.0 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.6.1 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.6.0 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.5.0 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.4.0 spec/dummy_app/app/controllers/article_categories_controller.rb
the_sortable_tree-2.3.3 spec/the_sortable_tree_app/app/controllers/article_categories_controller.rb