Skip to content
Snippets Groups Projects
Commit 75122e16 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix uri expansion during remote follow

parent c04002b3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment