# File lib/devise/omniauth/url_helpers.rb, line 4
      def self.define_helpers(mapping)
        return unless mapping.omniauthable?

        class_eval "def \#{mapping.name}_omniauth_authorize_path(provider, params = {})\nif Devise.omniauth_configs[provider.to_sym]\nscript_name = request.env[\"SCRIPT_NAME\"]\n\npath = \"\\\#{script_name}/\#{mapping.path}/auth/\\\#{provider}\\\".squeeze(\"/\")\npath << '?' + params.to_param if params.present?\npath\nelse\nraise ArgumentError, \"Could not find omniauth provider \\\#{provider.inspect}\"\nend\nend\n", __FILE__, __LINE__ + 1
      end