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: omniauth_controller.rb
    path of file: ./repos/property_web_builder/app/controllers/pwb
    
    the code of the file until where you have to start completion: module Pwb
  class OmniauthController < ApplicationController
    # https://github.com/plataformatec/devise/wiki/How-To:-OmniAuth-inside-localized-scope
    def local
    
    def localized
      # Just save the current locale in the session and redirect to the unscoped path as before
      session[:omniauth_login_locale] = I18n.locale
      # user_facebook_omniauth_authorize_path
      # redirect_to user_omniauth_authorize_path(params[:provider])
      redirect_to omniauth_authorize_path("user", params[:provider])
    end