about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 98d892fd5..d63bdf981 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -24,6 +24,11 @@ Rails.application.routes.draw do
 
     # JSON / REST API
     resources :statuses, only: [:create, :show] do
+      collection do
+        get :home
+        get :mentions
+      end
+
       member do
         post :reblog
         post :favourite