Fix featured hashtag URL being interpreted as media or with_replies (#12048)
Fix #12034
This commit is contained in:
1 parent
c7adf80827
commit
fa7dd5c2cd
1 file changed
+2
-2
@@ -129,11 +129,11 @@ class AccountsController < ApplicationController
|
||||
end
|
||||
|
||||
def media_requested?
|
||||
request.path.ends_with?('/media')
|
||||
request.path.ends_with?('/media') && !tag_requested?
|
||||
end
|
||||
|
||||
def replies_requested?
|
||||
request.path.ends_with?('/with_replies')
|
||||
request.path.ends_with?('/with_replies') && !tag_requested?
|
||||
end
|
||||
|
||||
def tag_requested?
|
||||
|
||||
Reference in new issue
Block a user