app/controllers/classifications_controller.rb
# They have a list of classifications they want split into a new taxon concept.
They have a list of classifications they want split into a new taxon concept.
They have a list of classifications they want split into a new taxon concept .
def split
    debug '#split'
    add_entries_to_session if params[:split_hierarchy_entry_id]
    if session[:split_hierarchy_entry_id].length > 1
      clear_entries_from_session
      flash[:error] = I18n.t(:classifications_split_one_classification_only)
    else
      @target_params[:confirm] = 'split' 
    end
  end
def split debug '#split' add_entries_to_session if params [ :split_hierarchy_entry_id ] if session [ :split_hierarchy_entry_id ] . length > 1 clear_entries_from_session flash [ :error ] = I18n . t ( :classifications_split_one_classification_only ) else @target_params [ :confirm ] = 'split' end end
They have a list of classifications they want split into a new taxon concept.
They have a list of classifications they want split into a new taxon concept .
# They may have (and often have) selected more to move... # hard-coded string, no need to translate.