Change actions in reports to require only one click (#17487)
This commit is contained in:
parent
a27729ee48
commit
d0fcf07436
7 changed files with 154 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue