- unless @redirect_url.to_s.blank?
- @redirect_url.query = @redirect_url.query.blank? ?
- "oauth_token=#{@token.token}" :
- @redirect_url.query + "&oauth_token=#{@token.token}"
- unless @token.oauth10?
- @redirect_url.query += "&oauth_verifier=#{@token.verifier}"
- end
- redirect_to @redirect_url.to_s
- else
- render :action => "authorize_success"