Change User#disguise/revert to GET

This commit is contained in:
2024-01-15 01:07:45 +01:00
parent a35314e6be
commit 93929f2c07
2 changed files with 12 additions and 9 deletions

View File

@@ -6,10 +6,10 @@ Rails.application.routes.draw do
resources :users, only: [:index, :show, :update] do
member do
post :disguise
get :disguise
end
collection do
post :revert
get :revert
end
end