use post for test mode

This commit is contained in:
Pete Matsyburka
2026-04-27 12:13:53 +03:00
parent 3fca76a716
commit d96d252df3
5 changed files with 5 additions and 5 deletions
@@ -3,7 +3,7 @@
class TestingAccountsController < ApplicationController
skip_authorization_check only: :destroy
def show
def create
authorize!(:manage, current_account)
authorize!(:manage, current_user)