Class: Spree::Admin::TaxonomiesController

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

Instance Method Summary collapse

Methods inherited from ResourceController

belongs_to, #create, #destroy, #edit, #new, #update, #update_positions

Instance Method Details

#get_childrenObject



6
7
8
# File 'app/controllers/spree/admin/taxonomies_controller.rb', line 6

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