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