update route

This commit is contained in:
2458773093 2019-08-16 01:04:44 +03:00
parent 159193bbf5
commit c5cef96d5f

View File

@ -283,7 +283,7 @@ Rails.application.routes.draw do
# JSON / REST API
namespace :v1 do
resources :statuses, only: [:create, :show, :destroy] do
resources :statuses, only: [:create, :update, :show, :destroy] do
scope module: :statuses do
resources :reblogged_by, controller: :reblogged_by_accounts, only: :index
resources :favourited_by, controller: :favourited_by_accounts, only: :index