add missing `account_media_status_ids` method to accounts controller (oooops~)
parent
06b8b09fca
commit
8534702269
|
@ -73,6 +73,10 @@ class AccountsController < ApplicationController
|
||||||
@account.statuses.not_local_only.where(visibility: [:public, :unlisted])
|
@account.statuses.not_local_only.where(visibility: [:public, :unlisted])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def account_media_status_ids
|
||||||
|
@account.media_attachments.attached.reorder(nil).select(:status_id).distinct
|
||||||
|
end
|
||||||
|
|
||||||
def hashtag_scope
|
def hashtag_scope
|
||||||
tag = Tag.find_normalized(params[:tag])
|
tag = Tag.find_normalized(params[:tag])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue