Sha256: 76c2552d3e30201a2dc2348ee0a8012613ab7d44aa42be9899363059f094486e
Contents?: true
Size: 449 Bytes
Versions: 5
Compression:
Stored size: 449 Bytes
Contents
module Spree module Admin class TaxonomiesController < ResourceController respond_to :json, only: [:get_children] def get_children @taxons = Taxon.find(params[:parent_id]).children end private def location_after_save if @taxonomy.created_at == @taxonomy.updated_at edit_admin_taxonomy_url(@taxonomy) else admin_taxonomies_url end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems