Fix uri expansion during remote follow

lolsob-rspec
Eugen Rochko 2017-01-02 12:19:02 +01:00
parent 043d9114bf
commit 3e6b5d67dd
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class RemoteFollowController < ApplicationController
render(:new) && return
end
redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "acct:#{@account.username}@#{Rails.configuration.x.local_domain}").to_s
redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "#{@account.username}@#{Rails.configuration.x.local_domain}").to_s
else
render :new
end