Class: Admin::TaxonomiesController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/admin/taxonomies_controller.rb

Instance Method Summary collapse

Instance Method Details

#get_childrenObject



4
5
6
7
# File 'app/controllers/admin/taxonomies_controller.rb', line 4

def get_children
  @taxons = Taxon.find(params[:parent_id]).children
  respond_with(@taxons)
end