0
0
Fork 0

Change actions in reports to require only one click (#17487)

This commit is contained in:
Eugen Rochko 2022-02-11 21:51:57 +01:00 committed by GitHub
parent a27729ee48
commit d0fcf07436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 154 additions and 36 deletions

View file

@ -225,6 +225,8 @@ Rails.application.routes.draw do
resources :rules
resources :reports, only: [:index, :show] do
resources :actions, only: [:create], controller: 'reports/actions'
member do
post :assign_to_self
post :unassign