This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix uri expansion during remote follow
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
c04002b340
commit
75122e162d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/remote_follow_controller.rb
+ 1
- 1
app/controllers/remote_follow_controller.rb
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
Write
Preview
Loading…
Cancel
Save