1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix uri expansion during remote follow

This commit is contained in:
Eugen Rochko 2017-01-02 12:19:02 +01:00
parent c04002b340
commit 75122e162d

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