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: units_controller.rb
    path of file: ./repos/ekylibre/app/controllers/backend
    
    the code of the file until where you have to start completion: module Backend
  class UnitsController < Backend::BaseController
    unroll

    def self.units_condit
    
    def unroll_filters_by_catalog_items
      variant = ProductNatureVariant.find(params[:filter_id])
      scope = { of_variant: [variant.id] }

      respond_to do |format|
        format.json { render json: { scope_url: unroll_backend_units_path(scope: scope),
                                     new_url: new_on_the_go_backend_conditionings_path(variant_id: variant.id, base_unit_id: variant.default_unit) } }
      end
    end