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: source_project_config_controller.rb
    path of file: ./repos/open-build-service/src/api/app/controllers
    
    the code of the file until where you have to start completion: class SourceProjectConfigController < SourceController
  # GET /source/:project/_config
  before_action :ensure_project_exist, only: %i[show update]

  def sho
    
  def ensure_project_exist
    # 'project' can be a local Project in database or a
    #  String that's the name of a remote project, or even raise exceptions
    @project = Project.get_by_name(params[:project])
  rescue Project::ReadAccessError, Project::UnknownObjectError => e
    render_404(e)
  end