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