Class: Admin::TaxonomiesController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Admin::TaxonomiesController
- Defined in:
- app/controllers/admin/taxonomies_controller.rb
Instance Method Summary collapse
Instance Method Details
#get_children ⇒ Object
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 |