Sha256: 4eb10d72b90a0eb0df0011cf21299b150c80646ee8de1925024f2ccc426f76d7

Contents?: true

Size: 403 Bytes

Versions: 18

Compression:

Stored size: 403 Bytes

Contents

class Admin::TaxonomiesController < Admin::BaseController
  resource_controller
  
  create.wants.html {redirect_to edit_admin_taxonomy_url(@taxonomy)}
  update.wants.html {redirect_to collection_url}
  
  edit.response do |wants|
    wants.html
    wants.js do
      render :partial => 'edit.html.erb'
    end
  end
  
  def get_children
    @taxons = Taxon.find(params[:parent_id]).children
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
spree-0.11.4 app/controllers/admin/taxonomies_controller.rb
spree-0.11.3 app/controllers/admin/taxonomies_controller.rb
spree_core-0.30.2 app/controllers/admin/taxonomies_controller.rb
spree_core-0.40.4 app/controllers/admin/taxonomies_controller.rb
spree_core-0.40.3 app/controllers/admin/taxonomies_controller.rb
spree_core-0.40.2 app/controllers/admin/taxonomies_controller.rb
spree_core-0.40.1 app/controllers/admin/taxonomies_controller.rb
spree_core-0.40.0 app/controllers/admin/taxonomies_controller.rb
spree_core-0.30.1 app/controllers/admin/taxonomies_controller.rb
spree_core-0.30.0 app/controllers/admin/taxonomies_controller.rb
spree-0.11.2 app/controllers/admin/taxonomies_controller.rb
spree-0.11.1 app/controllers/admin/taxonomies_controller.rb
spree_core-0.30.0.beta1 app/controllers/admin/taxonomies_controller.rb
spree-0.11.0 app/controllers/admin/taxonomies_controller.rb
spree-0.10.2 app/controllers/admin/taxonomies_controller.rb
spree-0.10.1 app/controllers/admin/taxonomies_controller.rb
spree-0.10.0 app/controllers/admin/taxonomies_controller.rb
spree-0.10.0.beta app/controllers/admin/taxonomies_controller.rb