diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/config/routes.rb b/config/routes.rb index 0a20d1655..26b61b8e1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -55,13 +55,6 @@ Rails.application.routes.draw do # JSON / REST API namespace :v1 do resources :statuses, only: [:create, :show, :destroy] do - collection do - get :home - get :mentions - get :public - get '/tag/:id', action: :tag - end - member do get :context get :reblogged_by @@ -74,6 +67,15 @@ Rails.application.routes.draw do end end + resources :timelines, only: [] do + collection do + get :home + get :mentions + get :public + get '/tag/:id', action: :tag + end + end + resources :follows, only: [:create] resources :media, only: [:create] resources :apps, only: [:create] |