about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:12:48 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:12:48 +0100
commit6be7bde24378bcb034552248021ea2450bb10524 (patch)
tree99af4a2c5355dc7ad3fa39ed828332db24bda799 /config
parent7b58c1a694eed95e367cc8d078f91c390dffec4d (diff)
Fix #525 - Add instance information API
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1a2e3c19d..ac1d78d64 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -130,7 +130,8 @@ Rails.application.routes.draw do
       resources :mutes,      only: [:index]
       resources :favourites, only: [:index]
       resources :reports,    only: [:index, :create]
-      resources :site,       only: [:index]
+
+      resource :instance, only: [:show]
 
       resources :follow_requests, only: [:index] do
         member do