Class: Comable::Admin::CategoriesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/comable/admin/categories_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#current_ability, #respond_to_export_with

Instance Method Details

#createObject



11
12
13
14
# File 'app/controllers/comable/admin/categories_controller.rb', line 11

def create
  Comable::Category.from_jstree!(params[:jstree_json])
  redirect_to comable.admin_categories_path
end

#indexObject



8
9
# File 'app/controllers/comable/admin/categories_controller.rb', line 8

def index
end