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: app_configs_controller.rb
    path of file: ./repos/chatwoot/enterprise/app/controllers/enterprise/super_admin
    
    the code of the file until where you have to start completion: module Enterprise::SuperAdmin::AppConfigsController
  private

  def allowed_config
    
  def allowed_configs
    return super if ChatwootHub.pricing_plan == 'community'

    case @config
    when 'custom_branding'
      @allowed_configs = custom_branding_options
    when 'internal'
      @allowed_configs = internal_config_options
    else
      super
    end