forked from treehouse/mastodon
parent
631e495a79
commit
ff43e54a49
|
@ -31,7 +31,7 @@ class Api::V1::MediaController < Api::BaseController
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_media_attachment
|
def set_media_attachment
|
||||||
@media_attachment = current_account.media_attachments.unattached.find(params[:id])
|
@media_attachment = current_account.media_attachments.where(status_id: nil).find(params[:id])
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_processing
|
def check_processing
|
||||||
|
|
Loading…
Reference in New Issue