ソースを参照

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

Fix #12034
master^2
Eugen Rochko 4年前
committed by GitHub
コミット
fa7dd5c2cd
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      app/controllers/accounts_controller.rb

+ 2
- 2
app/controllers/accounts_controller.rb ファイルの表示

@@ -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?


読み込み中…
キャンセル
保存