about summary refs log tree commit diff
path: root/app/controllers/remote_follow_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-02 12:19:02 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-02 12:19:02 +0100
commit75122e162d7b933d34c6b694c6c5a0b2533f547f (patch)
treeb6636fc94db90d470183a716976b0797da2f755d /app/controllers/remote_follow_controller.rb
parentc04002b340090795f1e54645cd3a7030ffd4bc21 (diff)
Fix uri expansion during remote follow
Diffstat (limited to 'app/controllers/remote_follow_controller.rb')
-rw-r--r--app/controllers/remote_follow_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/remote_follow_controller.rb b/app/controllers/remote_follow_controller.rb
index 5e923c88f..7d4bfe6ce 100644
--- a/app/controllers/remote_follow_controller.rb
+++ b/app/controllers/remote_follow_controller.rb
@@ -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