Add feature to revoke sessions (#4259)

This commit is contained in:
Yamagishi Kazutoshi 2017-07-19 11:59:04 +09:00 committed by Eugen Rochko
parent a5a07da892
commit 716f4cb11c
4 changed files with 25 additions and 0 deletions

View file

@ -397,6 +397,8 @@ en:
windows: Windows
windows_mobile: Windows Mobile
windows_phone: Windows Phone
revoke: Revoke
revoke_success: Session successfully revoked
title: Sessions
settings:
authorized_apps: Authorized apps

View file

@ -74,6 +74,8 @@ Rails.application.routes.draw do
resource :follower_domains, only: [:show, :update]
resource :delete, only: [:show, :destroy]
resources :sessions, only: [:destroy]
end
resources :media, only: [:show]