0
0
Fork 0

When accessing uncached media attachment, redownload it (#4955)

* When accessing uncached media attachment, redownload it

* Prevent re-download of rejected media
This commit is contained in:
Eugen Rochko 2017-09-16 03:01:45 +02:00 committed by GitHub
parent 6c81f9d6e5
commit 54edb4b853
5 changed files with 60 additions and 5 deletions

View file

@ -98,6 +98,8 @@ Rails.application.routes.draw do
resources :media, only: [:show]
resources :tags, only: [:show]
get '/media_proxy/:id/(*any)', to: 'media_proxy#show', as: :media_proxy
# Remote follow
resource :authorize_follow, only: [:show, :create]
resource :share, only: [:show, :create]