diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-02-11 21:51:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 21:51:57 +0100 |
commit | d0fcf07436d158bcac2617d076a83d0aa49c39e6 (patch) | |
tree | 4a1c3737e029ad9bb9f976c15e3e66d86dfca47f /config/routes.rb | |
parent | a27729ee48aab4d75d562c2007b9967333c65d29 (diff) |
Change actions in reports to require only one click (#17487)
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 670bebce2..5edb36519 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |