Eugen Rochko
há 4 anos
committed by
GitHub
ascendente
cometimento
fa7dd5c2cd
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
2 adições e
2 eliminações
-
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? |
|
|
|