Skip to content
Snippets Groups Projects
Unverified Commit fa7dd5c2 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix featured hashtag URL being interpreted as media or with_replies (#12048)

Fix #12034
parent c7adf808
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
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