diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-30 22:05:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-30 22:05:42 +0200 |
commit | eb605141ffb95290c5a537802ea418e6e45bf95f (patch) | |
tree | c09b15c974ad54ab03acfc650f83e8e73d8b139f /config | |
parent | 1e1d7887577ce5e2b1ceb0c1d08578ca173d5f5f (diff) |
Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112)
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index ad2d8fca2..de3c1e0f9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -194,12 +194,17 @@ Rails.application.routes.draw do resources :follows, only: [:create] resources :media, only: [:create, :update] - resources :apps, only: [:create] resources :blocks, only: [:index] resources :mutes, only: [:index] resources :favourites, only: [:index] resources :reports, only: [:index, :create] + namespace :apps do + get :verify_credentials, to: 'credentials#show' + end + + resources :apps, only: [:create] + resource :instance, only: [:show] resource :domain_blocks, only: [:show, :create, :destroy] |