update route
This commit is contained in:
parent
159193bbf5
commit
c5cef96d5f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue