Commit c5cef96d authored by 2458773093's avatar 2458773093

update route

parent 159193bb
...@@ -283,7 +283,7 @@ Rails.application.routes.draw do ...@@ -283,7 +283,7 @@ Rails.application.routes.draw do
# JSON / REST API # JSON / REST API
namespace :v1 do namespace :v1 do
resources :statuses, only: [:create, :show, :destroy] do resources :statuses, only: [:create, :update, :show, :destroy] do
scope module: :statuses do scope module: :statuses do
resources :reblogged_by, controller: :reblogged_by_accounts, only: :index resources :reblogged_by, controller: :reblogged_by_accounts, only: :index
resources :favourited_by, controller: :favourited_by_accounts, only: :index resources :favourited_by, controller: :favourited_by_accounts, only: :index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment