mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix uri expansion during remote follow
This commit is contained in:
parent
c04002b340
commit
75122e162d
@ -22,7 +22,7 @@ class RemoteFollowController < ApplicationController
|
|||||||
render(:new) && return
|
render(:new) && return
|
||||||
end
|
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
|
else
|
||||||
render :new
|
render :new
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user