diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-16 03:01:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 03:01:45 +0200 |
commit | 54edb4b853522b322922b65989ddfc5fdf928014 (patch) | |
tree | bf169285ecb1e9073ca0c7beaf73ed71f2666521 /config | |
parent | 6c81f9d6e553d2e9346514d1b1c8c214c317fed4 (diff) |
When accessing uncached media attachment, redownload it (#4955)
* When accessing uncached media attachment, redownload it * Prevent re-download of rejected media
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 63e94fb49..bf5428869 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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] |