You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: classification_controller.rb
    path of file: ./repos/mushroom-observer/app/controllers/names
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#  edit_classification::
module Names
  class ClassificationController < ApplicationController
    before_action :login_required

    # Form
    def edit
      store_location
    
    def update
      store_location
      pass_query_params
      return unless find_name!

      @name.classification = params[:classification].to_s.strip_html.
                             strip_squeeze
      return render_edit unless validate_classification!

      @name.change_classification(@name.classification)
      redirect_with_query(@name.show_link_args)
    end